camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-1695) Add support for ANT path matcher for the RouteBuilder package scanner
Date Thu, 11 Jun 2009 07:37:35 GMT
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.


Mime
View raw message