You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by cyflhn <ch...@made-in-china.com> on 2015/07/27 08:07:47 UTC
producer already closed but broker does not know
ActiveMQ version: 5.10.1.
When producers is created, I will check the status of producers
periodically. For example, I check whether the session is closed and whether
transport of connection is failed. If something mentioned above occurs, I
invoke producer.close session.close connection.close and create some new
consumers. But sometimes I found broker does not know the old producers have
been closed and Messages can not be consumed. Sometimes when I recreate
consumers, I got the message of "unknown data type". I want to know the
reason. thks.
--
View this message in context: http://activemq.2283324.n4.nabble.com/producer-already-closed-but-broker-does-not-know-tp4699900.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: consumer already closed but broker does not know
Posted by Cadmean <hz...@hotmail.com>.
I think the advisory message can help you.
Create a consumer and listen the Topic "ActiveMQ.Advisory.Consumer.Queue"
for more details, see http://activemq.apache.org/advisory-message.html
<http://activemq.apache.org/advisory-message.html>
cyflhn wrote
> ActiveMQ version: 5.10.1.
>
> When consumers are created, I will check the status of consumers
> periodically. For example, I check whether the session is closed and
> whether transport of connection is failed. If something mentioned above
> occurs, I invoke consumer.close session.close connection.close and create
> some new consumers. But sometimes I found broker does not know the old
> consumers have been closed and Messages can not be consumed. Sometimes
> when I recreate consumers, I got the message of "unknown data type". I
> want to know the reason. thks.
--
View this message in context: http://activemq.2283324.n4.nabble.com/consumer-already-closed-but-broker-does-not-know-tp4699900p4699955.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.