Hi Bjørn, I think that may be a copy n' paste error in the documentation. The payload in that advisory message is the original message, so there is really no need for additional properties.
You need to do something like: Message msg = advisoryConsumer.receive(1000); ActiveMQMessage message = (ActiveMQMessage) msg; ActiveMQMessage originalMessage = (ActiveMQMessage) message.getDataStructure(); .... Gary. 2009/2/9 Bjørn T Johansen <b...@havleik.no>: > No one knows why this is null? > > BTJ > > On Fri, 6 Feb 2009 08:57:50 +0100 > Bjørn T Johansen <b...@havleik.no> wrote: > >> I am trying out the advisoryForConsumed advisory but the originalMessageId >> == null.. >> Is this not the way to get the original message id: >> >> message.getStringProperty("orignalMessageId"); >> >> Is there some other way that should be used instead? >> >> >> Regards, >> >> BTJ >> > -- http://blog.garytully.com Open Source SOA http://FUSESource.com