qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NimbusParc <nimbusp...@yahoo.in>
Subject Re: Removing a receiver.
Date Mon, 21 Oct 2013 06:12:27 GMT
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: 

> users-unsubscribe@.apache

> For additional commands, e-mail: 

> users-help@.apache

+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: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message