qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: qpid 0.8 queries
Date Tue, 12 Jul 2011 12:54:04 GMT
On 07/12/2011 01:50 PM, Nithesh Shetty wrote:
> But can i check the message id of message is the localqueue and then match with my message
id and it they match then read...
>
> Some way through messageproperties or messageheader.

You can check the message-id on the receiving client, certainly (using 
Message::getMessageId()). However you can't only receiver a message with 
a given id . Not sure if that is what you are looking for.

>
> --- On Tue, 7/12/11, Gordon Sim<gsim@redhat.com>  wrote:
>
>> From: Gordon Sim<gsim@redhat.com>
>> Subject: Re: qpid 0.8 queries
>> To: users@qpid.apache.org
>> Date: Tuesday, July 12, 2011, 12:41 PM
>> On 07/12/2011 01:22 PM, Nithesh
>> Shetty wrote:
>>> yes m using c++ qpid.messaging API?
>>
>> Then its easy enough to set the ID:
>>
>> import<qpid/types/Uuid.h>
>>
>> using qpid::types::Uuid;
>> ...
>> message.setMessageId(Uuid(true).str());
>>
>> However there is no support for selectors yet on this API.
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message