Fraser,

The client who is sending the message (in this case the QMF component
in the broker) is responsible for setting the subject.
If receiver side merely retrieves it from the application headers if
it's present.
So it looks like QMF side is not sending it.

I copied Ted on this, as he may be able to give a more definitive
answer on that.

Regards,

Rajith

On Fri, Jun 24, 2011 at 3:03 AM, fadams <[email protected]> wrote:
> Hi Rajith
>
> I'm using qpid 0.8 (c++ broker)
>
> Re: "What is the address string you are using on the producer side". That's
> more interesting, what I am /actually/ doing is subscribing to
> "qmf.default.topic/agent.ind.event.org_apache_qpid_broker.#" - see the "Is
> it possible to write a client that gets notified of
> connections/disconnections to broker? " thread - I got that subject from
> Gordon Sim.
>
> Anyway what I was trying to do was to simply display the complete subject -
> I was ultimately going to subscribe to qmf.default.topic/# so I could
> identify the whole range of subjects being published in order to understand
> a bit more about some of the management messages.
>
> Like I say though I've not had any luck with
> getStringProperty("qpid.subject") it seems to return null
>
> Any thoughts?
> Fraser
>
>
> Rajith Attapattu wrote:
>>
>> 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
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:[email protected]
>>
>
>
> --
> View this message in context: 
> http://apache-qpid-users.2158936.n2.nabble.com/how-do-I-retrieve-the-subject-from-JMS-tp6491033p6511087.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