activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joeeb <tms8...@comcast.net>
Subject Producer blocking during Durable Subscription...
Date Wed, 31 May 2006 15:55:02 GMT

I'm getting wierdness when using a Durable Transacted Subscription, in that
the Producer blocks until a Consumer retreives messages:

producer:
     [echo] Running producer against server at $url = tcp://localhost:61616
for subject $subject = TEST.FOO
     [java] Connecting to URL: tcp://localhost:61616
     [java] Publishing a Message with size 1000 to topic: TEST.FOO
     [java] Using durable publishing
     [java] Sleeping between publish 0 ms
     [java] Sending message: Message: 0 sent at: Wed May 31 11:51:08 EDT
2006  ...
>>>THE PRODUCER BLOCKS<<<
>>>UNTIL CONSUMER RUNS<<<
consumer:
     [echo] Running consumer against server at $url = tcp://localhost:61616
for subject $subject = TEST.FOO
     [java] Connecting to URL: tcp://localhost:61616
     [java] Consuming topic: TEST.FOO
     [java] Using durable subscription
     [java] We are about to wait until we consume: 1000 message(s) then we
will shutdown
     [java] Received: Message: 0 sent at: Wed May 31 11:51:08 EDT 2006  ...

As soon as I kill the Consumer, the Producer blocks until I restart the
Consumer... 

Using incubator-activemq-4.0 from May 8, 2006
--
View this message in context: http://www.nabble.com/Producer+blocking+during+Durable+Subscription...-t1711371.html#a4646521
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message