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 <marco.cr...@gmail.com>
wrote:

> 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:
> http://camel.465427.n5.nabble.com/request-reply-with-ActiveMQ-and-Camel-tp5762666.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to