Hi,

I just checked with test program and I can retrieve the subject using
msg.getStringProperty("qpid.subject").
Which qpid release are you using ?
What is the address string you are using on the producer side ?

Regards,

Rajith

On Sat, Jun 18, 2011 at 11:44 AM, fadams <[email protected]> wrote:
> Hello,
> can anyone tell me how to retrieve a message's subject.
>
> I've tried
>
> System.out.println(message.getStringProperty("qpid.subject"));
>
> to check but that just returns a null string
>
> Funnily enough if I Google getStringProperty("qpid.subject") I get nothing,
> but if I Google setStringProperty("qpid.subject") it returns links to some
> code for some test cases, so it looks just about the right way to go but
> it's weird that theres links for setting, but not getting - which makes me a
> bit suspicious.
>
> Any ideas??
>
> --
> View this message in context: 
> http://apache-qpid-users.2158936.n2.nabble.com/how-do-I-retrieve-the-subject-from-JMS-tp6491033p6491033.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:[email protected]
>
>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to