I am building a routing to URI based on the name of class's package:
<camel:route>
<camel:from uri="direct://start/event" />
<camel:recipientList>
<camel:simple resultType="java.lang.String">
direct://start/event/${in.body.class.package.name}
</camel:simple>
</camel:recipientList>
</camel:route>
Later, I want to create a wildcard route that looks something like this:
<camel:route>
<camel:from uri="direct://start/event/com.mycompany.mypackage.*"
/>
In other words I want to route everything that's inside
com.mycompany.mypackage. to a specific route.
Is this possible? Can I use wildcards with direct: or is there a better
option?
Thanks.
-AP_
--
View this message in context:
http://camel.465427.n5.nabble.com/Can-I-use-from-direct-abc-for-wildcard-routing-tp5738379.html
Sent from the Camel - Users mailing list archive at Nabble.com.