...
You can also use the ANT style for inclusion and exclusion, as mentioned above in the <packageScan>
documentation.
Include Page | ||||
---|---|---|---|---|
|
Test time exclusion.
At test time it is often desirable to be able to selectively exclude matching routes from being initalized that are not applicable or useful to the test scenario. For instance you might a spring context file routes-context.xml and three Route builders RouteA, RouteB and RouteC in the 'org.example.routes' package. The packageScan definition would discover all three of these routes and initialize them.
...