I think your advice won't work in my case since I am trying to send different
replies based on some conditions. 
Here is the scenario I am trying to implement in a route:
1. <from> is a cxf endpoint which gets order requests.
2. Perform first validation stage. If error - construct a error message,
send to the client and stop. If not go to third step.
3. Perform second validation stage. If error - construct a different error
message, send it to the client and stop. If validation passed go to step 4.
4. Send a message to an activemq queue and send the webservice client an
acknowledgement of successful order receipt.

Can I somehow specify that the error messages I am building at step 2 or 3
should be sent as a reply to the initial web service request?

--
View this message in context: 
http://camel.465427.n5.nabble.com/Understanding-Request-Reply-EIP-in-Spring-DSL-tp5662809p5668306.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to