You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by C55427 <cg...@yahoo.com> on 2007/10/26 23:00:25 UTC
multiple producers into topic, 1 producer leaves, all consumers
die...
We have a simple many producers making messages and sending them into 1 topic
for many consumers to consume them. All consumers must get all messages
entered.
I got example code to work good, but one problem. When one producer quits,
all the consumers quit receiving messages. I even removed all closes from
the producers to no avail. What am I doing wrong??
--
View this message in context: http://www.nabble.com/multiple-producers-into-topic%2C-1-producer-leaves%2C-all-consumers-die...-tf4699735s2354.html#a13435320
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: multiple producers into topic, 1 producer leaves, all consumers
die...
Posted by C55427 <cg...@yahoo.com>.
I figured it out. When I reworked the example, I still had the "SHUTDOWN"
logic in it from the example. Doh!
C55427 wrote:
>
> I can ask the question very succinctly: I want my consumers to live
> forever and not care about the comings and goings of producers. When I
> use the example programs, my consumer dies when the producer
> quits.:confused:
>
>
=)
--
View this message in context: http://www.nabble.com/multiple-producers-into-topic%2C-1-producer-leaves%2C-all-consumers-die...-tf4699735s2354.html#a13478187
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: multiple producers into topic, 1 producer leaves, all consumers
die...
Posted by C55427 <cg...@yahoo.com>.
I can ask the question very succinctly: I want my consumers to live forever
and not care about the comings and goings of producers. When I use the
example programs, my consumer dies when the producer quits.:confused:
--
View this message in context: http://www.nabble.com/multiple-producers-into-topic%2C-1-producer-leaves%2C-all-consumers-die...-tf4699735s2354.html#a13439017
Sent from the ActiveMQ - User mailing list archive at Nabble.com.