Re: Conditional based routing query

2015-04-29 Thread Claus Ibsen
Hi

Yes using the content based router and then predicates that check if
the message body type is what you want


On Wed, Apr 29, 2015 at 6:03 PM, gilboy  wrote:
> Hi
>
> I have a route which consumes messages from a JMS Queue. The type of
> messages being placed on the queue are JMSObjectMessage's. There are 2
> different types of objects I may be sent - a Customer or a Supplier.
>
> In the route which consumes the message I would like to do some conditional
> based routing based on type type of object - Customer or Supplier.
>
> Is this possible?
>
> Thanks
> Joe
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Conditional-based-routing-query-tp5766514.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/


Conditional based routing query

2015-04-29 Thread gilboy
Hi

I have a route which consumes messages from a JMS Queue. The type of
messages being placed on the queue are JMSObjectMessage's. There are 2
different types of objects I may be sent - a Customer or a Supplier.

In the route which consumes the message I would like to do some conditional
based routing based on type type of object - Customer or Supplier. 

Is this possible?

Thanks
Joe



--
View this message in context: 
http://camel.465427.n5.nabble.com/Conditional-based-routing-query-tp5766514.html
Sent from the Camel - Users mailing list archive at Nabble.com.