Hi Marco,
I have had a similar situation.  I grab the JSON input, unmarshall to a
POJO, inspect the payload for a parameter, and then set a camel header for
routing.

I have also had cases where I could route directly based of information in
the HTTP Headers.  

Handling this by setting a header based on the input message seems like a
good approach.

Thanks,
Yogesh



--
View this message in context: 
http://camel.465427.n5.nabble.com/JsonEndpoint-and-Router-tp5717969p5717972.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to