camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anirban.gupta4" <anirban.gup...@gmail.com>
Subject Unable to send response to webservice
Date Mon, 27 Mar 2017 11:01:19 GMT
Hi,

My scenario is like:

1. Expose a CXF endpoint and accept the request message
2. Transform the request message
3. Put the message in a JMS queue
4. Send a response to the caller that the message is successfully posted in
the queue

My route is as follows

from("cxf:bean:someEndpoint")
		.streamCaching()
		.process(new MappingProcessor())
		.log("Reached1")         
		.setHeader("INTERFACE_NAME", constant("some-interface"))
		.to("jms:queue:queueName")
		.setBody(constant("Item has been inserted to Queue Successfully"))
		.end();

In the above route, the message is getting inserted into the queue
successfully but the response "Item has been inserted to Queue Successfully"
is not sent to the calling app, Please help.

Regards,
Anirban.



--
View this message in context: http://camel.465427.n5.nabble.com/Unable-to-send-response-to-webservice-tp5796276.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message