Hi On Tue, Jan 12, 2010 at 7:16 PM, Johan Haleby <[email protected]> wrote: > > Hi, > > I've read the FAQ and I understand that I cannot use the placeholders in > inside the Camel XML in a spring configuration. However I've seen > workarounds for uri's by defining endpoints outside of the camel context xml > configuration and referring to these from the inside. Is there a similar > approach for the defining package scan path (without reverting to the old > Spring way of configuring things as demonstrated in > http://issues.apache.org/activemq/browse/CAMEL-1997 CAMEL-1997 )? >
Yeah I think package and packageScan (which can do ANT based filtering) is currently inlined within camel:context. Since <camel:endpoint> do support property placeholders maybe we can get the package and packageScan to do the same. Can you create a JIRA ticket and put up a minor example, then we can use that to track down a solution? > /Johan > -- > View this message in context: > http://old.nabble.com/Workaround-for-PropertyPlaceholderConfigurer-and-packageScan--tp27131146p27131146.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
