Oh!
Thanks a lot. Really

// Petter
________________________________________
Från: Claus Ibsen [claus.ib...@gmail.com]
Skickat: den 31 oktober 2012 16:48
Till: users@camel.apache.org
Ämne: Re: Read back JMSMessageId from OneWay JMS message

On Wed, Oct 31, 2012 at 2:29 PM, Petter Nordlander
<petter.nordlan...@enfo.se> wrote:
> Hi,
>
> Say I have something like:
>
> from("foo:bar")
>    .process(..)
>    .to(ExchangePattern.InOnly,"jms:queue:somewhere") // don't want a 
> request/reply here
>    .bean(customLoggerBasedOnJmsMessageId);
>
> But my problem is, how can I retrieve the JMS message ID after the message is 
> sent (InOnly)? Since the Message ID is created automatically by the JMS 
> implementation. This is well possible in plain JMS in java, i.e.
> producer.send(myMsg);
> log(myMsg.getJMSMessageID());
>
> Does any of you have any input to this issue?
>

Yeah we could add support for that so the JMSMessageID is being
populated on the Camel Message after it has been sent.

I have logged a ticket
https://issues.apache.org/jira/browse/CAMEL-5763


> Best regards Petter Nordlander
>



--
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to