Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
When using the <package>com.mycompany.foo</package> tag to auto discover any RouteBuilder impl and install its route it is sometimes desireable to be able to exclude some routes.
We should add support for ANT path matching style.
As its spring based we can leverage the spring ANT path matcher we already do for the file and ftp components.
And we should consider renaming <package> to <package-scan> as its more clear what it does.
Or maybe inline it in the routeBuilder tag, as it would be more clear that the package is for route builders:
<routeBuilder> <package-scan>xxxxx</package-scan> <excludes>**/*MyTestRoute*</excludes> </routeBuilder>