Endpoint = new JmsEndpoint();
> replyEndpoint.setDestination(replyTo);
> DefaultProducerTemplate producer = (DefaultProducerTemplate)
> exchange.getContext().createProducerTemplate();
>
> producer.sendBodyAndHeaders(replyEndpoint.getEndpointUri().toString(),
> "TES
exchange.getContext().createProducerTemplate();
producer.sendBodyAndHeaders(replyEndpoint.getEndpointUri().toString(),
"TEST", exchange.getOut().getHeaders());
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-processor-in-InOut-to-send-2-replies-tp5728
ge in context:
http://camel.465427.n5.nabble.com/camel-processor-in-InOut-to-send-2-replies-tp5728189.html
Sent from the Camel - Users mailing list archive at Nabble.com.
"true">
I've got a processor working properly when sending a single reply but in
some situations 2 messages have to be sent.
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-processor-in-InOut-to-send-2-replies-tp5728189.html
Sent from the Camel - Use