You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by jaya_srini <jy...@Hotmail.com> on 2008/03/09 04:03:53 UTC
ActiveMq persistence delivery mode
hi
I am observing the following behaviour with ActiveMq 5.0 release and I was
wondering if someone can tell me if this is expected or a bug
I have a single broker with one producer and a durable subscriber. All on
one machine. I am using a single Topic for publish and subscribe.
The session is set to AUTO_ACKNOWLEDGE and transacted is FALSE
1)When I publish a single message to the Topic from the producer in a
PERSISTENT delivery mode I observe that 2 messages are sent and received.
2) When I publish a single message to the Topic from the producer in a
NON_PERSISTENT delivery mode I observe that 1 message is sent and received
In case of (1), Shouldn't the PERSISTENT delivery mode also send only 1
message?
--
View this message in context: http://www.nabble.com/ActiveMq-persistence-delivery-mode-tp15923373s2354p15923373.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMq persistence delivery mode
Posted by jaya_srini <jy...@Hotmail.com>.
Please ignore. There was a bug in my code. I was publishing multiple
messages.
Really sorry for the bother.
thanks
jaya
jaya_srini wrote:
>
> hi
>
> I am observing the following behaviour with ActiveMq 5.0 release and I was
> wondering if someone can tell me if this is expected or a bug
>
> I have a single broker with one producer and a durable subscriber. All on
> one machine. I am using a single Topic for publish and subscribe.
>
> The session is set to AUTO_ACKNOWLEDGE and transacted is FALSE
>
> 1)When I publish a single message to the Topic from the producer in a
> PERSISTENT delivery mode I observe that 2 messages are sent and received.
>
> 2) When I publish a single message to the Topic from the producer in a
> NON_PERSISTENT delivery mode I observe that 1 message is sent and received
>
> In case of (1), Shouldn't the PERSISTENT delivery mode also send only 1
> message?
>
--
View this message in context: http://www.nabble.com/ActiveMq-persistence-delivery-mode-tp15923373s2354p15923809.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.