You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by lamianbu <la...@sina.com> on 2008/11/18 02:13:07 UTC
After close() a consumer,how can i open it?
After close() a consumer, I want recieve() someting again.
How can i open it?
And I don't want to create a new consumer.(I must do it with the logic)
-------------------------------------------------------------------------
I tryed the start() methed, it doesn`t work.
--
View this message in context: http://www.nabble.com/After-close%28%29--a-consumer%2Chow-can-i-open-it--tp20551760p20551760.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: After close() a consumer,how can i open it?
Posted by lamianbu <la...@sina.com>.
Timothy Bish wrote:
>
> The JMS specification does not provide for re-opening a consumer once
> its been closed. Closing a consumer removes it from the broker, you
> will have to recreate a new consumer if you close yours.
>
> Regards
> Tim.
>
Thank you ,I have seloved it. I have to recreate a new consumer .
--
View this message in context: http://www.nabble.com/After-close%28%29--a-consumer%2Chow-can-I-open-it--tp20551760p20617403.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: After close() a consumer,how can i open it?
Posted by Timothy Bish <ta...@gmail.com>.
The JMS specification does not provide for re-opening a consumer once
its been closed. Closing a consumer removes it from the broker, you
will have to recreate a new consumer if you close yours.
Regards
Tim.
On Mon, 2008-11-17 at 17:13 -0800, lamianbu wrote:
>
>
> After close() a consumer, I want recieve() someting again.
>
> How can i open it?
>
> And I don't want to create a new consumer.(I must do it with the logic)
>
> -------------------------------------------------------------------------
> I tryed the start() methed, it doesn`t work.