camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Kripalani <r...@evosent.com>
Subject Re: Can I use from ="direct:abc*" for wildcard routing...
Date Sat, 31 Aug 2013 14:07:07 GMT
The best option is to use JMS Publish / Subscribe, with the camel-jms or
activemq-camel components. This way you get the full QoS guarantees that a
messaging broker is able to provide. If you use Apache ServiceMix, the
ActiveMQ broker is already embedded so you can enjoy an out-of-the-box
experience.

Regards,

*Raúl Kripalani*
Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk

On Sat, Aug 31, 2013 at 12:03 PM, apara <apara@standardset.com> wrote:

> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message