Ted Ross wrote
> On 10/17/2013 04:32 PM, Rajesh Khan wrote:
>>  From the manual it states that you could read from multiple receivers
>> and
>> you could do that:
>> by adding a receiver to a session as such:
>>
>> Receiver receiver1 = session.createReceiver(address1);
>>
>> Then you could simply read it:
>> Message message = session.nextReceiver().fetch();
>>
>> Now my question is how do I remove a receiver once I do not want to
>> receive
>> from it ?
>>
> 
> You can call  receiver1.close().
> 
> -Ted
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 

> [email protected]

> For additional commands, e-mail: 

> [email protected]

+1



--
View this message in context: 
http://qpid.2158936.n2.nabble.com/Removing-a-receiver-tp7599646p7599689.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to