[ 
https://issues.apache.org/activemq/browse/CAMEL-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-1695:
-------------------------------

    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:
{code}
<routeBuilder>
  <package-scan>xxxxx</package-scan>
  <excludes>**/*MyTestRoute*</excludes>
</routeBuilder>
{code}

  was:
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:
{code}
<routeBuilder>
  <package-scan>xxxxx</package-scan>
  <excludes>**/*MyTestRoute*</excludes>
</routeBuilder
{code}


> Add support for ANT path matcher for the RouteBuilder package scanner 
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-1695
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1695
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-spring
>            Reporter: Claus Ibsen
>             Fix For: 2.1.0
>
>
> 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:
> {code}
> <routeBuilder>
>   <package-scan>xxxxx</package-scan>
>   <excludes>**/*MyTestRoute*</excludes>
> </routeBuilder>
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to