Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-310

Wildcard durable subs do not receive messages from topics created after the durable sub is created.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7
    • None
    • None
    • apollo-99-trunk-20130221.165856-207

    Description

      I'm trying to define a dsub with wildcard subscription in apollo.xml and it seems that the topic consumers are not always created.

      Here is what I have in apollo.xml:

      <topic id="foo.1"/>
      <topic id="foo.2"/>
      <dsub id="bar" topic="foo.*"/>

      If I stop Apollo, destroy its data directory and start it again, the consumers are created. Via the REST API I see on each topic:

      {
      'config' =>

      { 'id' => 'foo.1', 'other' => [] },
      'dsubs' => [
      'bar'
      ],
      'id' => 'foo.1',
      'metrics' => {
      'consumer_count' => 1,
      [...]
      }

      So far so good.

      If I restart Apollo (service apollo restart), the dsub consumer does not appear anymore:

      {
      'config' => { 'id' => 'foo.1', 'other' => [] }

      ,
      'dsubs' => [],
      'id' => 'foo.1',
      'metrics' => {
      'consumer_count' => 0,
      [...]
      }

      This looks like a conflict between apollo.xml and what the store knows about dsubs...

      Attachments

        Activity

          People

            chirino Hiram R. Chirino
            lionel.cons Lionel Cons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: