activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Durable subscriptions
Date Mon, 29 Sep 2008 10:39:12 GMT
subscription recovery policy is for non-durable topic subscribers

2008/9/26 Yari Marchetti <>:
> Hi everyone,
> i was playing with durable subscriptions and observed a
> behavior that seems strange to me. I configured ActiveMQ
> with
> <fixedSizedSubscriptionRecoveryPolicy maximumSize="32768" />
> for every topic, and then created a durable subscriber for topic
> "test" with a unique client-id and subscription name. Using a
> producer i sent 3 messages to the "test" topic and by using web
> console i was able to see that there were enqueued message for the
> durable subscription, waiting to be delivered.
> By using a durable consumer i was able to retrieve all of the 3
> messages, acking them, and then disconnected the client. I
> then retried to log on the broker with the same durable
> subscription and surprising i received those 3 messages again.
> i tried to look at JMS specifications but nothing it's unspecified. so:
> Is this the normal behavior? i was expecting to not receive those
> messages again since i got them, and acknowledged them. shouldn't
> them be removed from the state when they are correctly delivered?
> regards,
> Yari


Open Source Integration

View raw message