Thanks a lot, Willem. It works using inOnly()
willem.jiang wrote:
>
> from("jetty ....").process(...).inOnly().to("jms:queue")
>
How to make it send a HttpResponse only if sending JMS message is
successfully. I tried to list the same jetty endpoint in the end, but it
doesn't work. Please advise. Thanks again.
from("jetty ....").process(...).to("jms:queue").to("jetty....")
--
View this message in context:
http://www.nabble.com/What-to-do-with-HTTP-response-when-route-from-HTTP-to-JMS--tp24924548p24940755.html
Sent from the Camel - Users mailing list archive at Nabble.com.