Hi,

I don't have the following qpid tools.How to get it. Moreover, I don find 
qpid-tools anywhere in my qpid directory structure,.

qpid-route
qpid-config
qpid-tool
qpid-printevents

Can anyone help me in installing all these tools.

Regards,
Sinduja.R

-----Original Message-----
From: tkdchen [mailto:[email protected]] 
Sent: Friday, February 03, 2012 8:23 PM
To: Senthil Kumar, Sinduja (GE Healthcare)
Cc: [email protected]
Subject: Re: Receiving Messages from Multiple Sources

On Fri, Feb 3, 2012 at 6:18 PM, Senthil Kumar, Sinduja (GE Healthcare) 
<[email protected]> wrote:
> Hi,
>
> When I try to add an exchange , I get this error. Can someone tell me 
> how to add an exchange etc # qpid-config add exchange topic 
> news-service If 'qpid-config' is not a typo you can use 
> command-not-found to lookup the package that contains it, like this:
>    cnf qpid-config
>

qpid-config is in package qpid-tools.

$ sudo yum install qpid-tools

>
> Regards,
> Sinduja.R
>
>
> -----Original Message-----
> From: tkdchen [mailto:[email protected]]
> Sent: Friday, February 03, 2012 12:53 PM
> To: [email protected]
> Cc: Senthil Kumar, Sinduja (GE Healthcare)
> Subject: Re: Receiving Messages from Multiple Sources
>
> On Fri, Feb 3, 2012 at 2:37 PM, Senthil Kumar, Sinduja (GE Healthcare) 
> <[email protected]> wrote:
>> Hi,
>>
>> Iam a newbie to QPID.
>>
>> Can someone explain me how to set the addresses for Receiving 
>> Messages
>
>> from Multiple Sources.
>>
>>
>
> You can use multiple binding keys to bind a queue to a topic exchange.
> So, the rest is to ref the documentation of C++ client API.
> I'm using Python, not familiar with C++ client API.
>
>>
>> For ex:,
>>
>>
>>
>> C++:
>>
>> Receiver receiver1 = session.createReceiver(address1);
>>
>> receiver1.setCapacity(10);
>>
>> Receiver receiver2 = session.createReceiver(address2);
>>
>> receiver2.setCapacity(10);
>>
>> Message message = session.nextReceiver().fetch();
>>
>> std::cout << message.getContent() << std::endl;
>>
>> session.acknowledge(); // acknowledge message receipt
>>
>>
>>
>> what would be the nature of address1 and address2?
>>
>> Can someone tell me how to set theses addresses.
>>
>>
>>
>> Regards,
>>
>> Sinduja.R
>>
>>
>>
>>
>>

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

Reply via email to