camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Green <>
Subject Re: request-reply with ActiveMQ and Camel
Date Thu, 12 Feb 2015 17:11:18 GMT
I'm guessing you need the reply to include a reference to one or more
"files" that can be picked up independently? I can't see a multi-message
reply working. Prepared to be corrected of course.

On 12 February 2015 at 16:58, Marco Crivellaro <>

> Hi,
> I have managed to get a simple request-reply working with ActiveMQ and
> Camel/NMS.
> - The Producer is an NMS client which creates a temporary queue and then
> sends the request to a queue (queue.request) setting the replyTo header to
> the temporary queue.
> - The Consumer is a Java component which uses Camel and InOut pattern which
> consumes queue.request
> This setup works fine but I wanted to extend it so that if the response is
> too big this is split into several chunks and pushed to the temporary
> queue.
> So in effect for a request there will be one or more replies.
> I did not manage to get this working, no matter what I do the consumer
> always receive the last message pushed to the temporary queue.
> The java consumer is using a ProducerTemplate to send all the responses bar
> the last one which is sent as part of the InOut exchange.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message