activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Durable subscription discrepancies.
Date Tue, 23 Mar 2010 16:14:04 GMT
Can you open a jira issue and submit a junit test case, this will help fully
understand your scenario.

On 23 March 2010 11:14, akos <> wrote:

> Hi All,
> i'm trying to use durable subscriptions and i found so many
> bugs/discrepancies in that area (AMQ 5.3). It is really frustrating.
> - if i set keepDurableSubsActive=false (what i want) then i won't get the
> messages after re(!)-activation. I've figured out that the
> DurableTopicSubscription.deactivate() invokes
> StoreDurableSubscriberCursor.remove() what is removes the
> TopicStorePrefetch
> from the topic. Up to this point everyting is fine. But when the durable
> subscription becomes active the StoreDurableSubscriberCursor.add won't be
> called. So DurableTopicSubscription.activate() does not put the cursor
> back.
> - if i keep the keepDurableSubsActive=true setting (i don't want to) then
> the Topic.activate() re(!)-adds the subscription to the consumers list.
> Every re-activation increases the list.
> - there is another problem in the jmx broker also. The
> ManagedRegionBroker.addInactiveSubscription adds the subscription to this
> domain: "...Type=Subscription,active=false,name=...". I don't know what
> this
> active=false part supposed to mean, but it puts the MBean to a strange path
> in the jconsole. What is not a big problem, but it is not managed by the
> rest of the code. Even if a subscription is inactivated the MBean in the
> "Durable" section shows active. If the subscription is active the "false"
> section contains an entry as it would be inactive.
> Could you please tell me some hints, how can i fix (mostly) the first one?
> Thanks for helping!
> akos
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


Open Source Integration

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message