activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: How to forward a full message received in Java by onMessage() into another queue?
Date Fri, 13 Aug 2010 16:03:42 GMT
It will be a new message with a new Id, so you will need to explicitly
set the correlationID to the original messageID

On 13 August 2010 14:28, Martin C. <martinc@gmx.at> wrote:
> Hi,
>
> On Fri, Aug 13, 2010 at 2:30 PM, Gary Tully <gary.tully@gmail.com> wrote:
>>
>> you need a message producer and do producer.send(..., message);
>>
>
> will this also preserve the message ID or will a new message ID be
> used for this message? I am interested as I may need to forward some
> messages to another broker and I'd like to keep the message ID for use
> in the answer's correlation ID.
> Thanks in advance!
> Best regards,
> Martin
>



-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Mime
View raw message