Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1794

Confusion when auto removing a queue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • STOMP
    • None

    Description

      I'm using the following settings to try to mimic ActiveMQ 5 STOMP destination handling:

      <acceptor name="stomp">tcp://0.0.0.0:61613?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=STOMP;useEpoll=true;anycastPrefix=/queue/;multicastPrefix=/topic/</acceptor>
      

      This works as expected in most situations.

      However, when subscribing to a queue (via destination:/queue/foo) and sending a message to an eponymous topic (destination:/topic/foo) Artemis reports a fatal error:

      AMQ119209 Can't remove routing type ANYCAST, queues exists for address foo. Please delete queues before removing this routing type.
      

      I guess this happens when it tries to auto delete things.

      Doing the opposite (subscribing to the queue and sending a message to the topic), I get the same kind of error:

      AMQ119209 Can't remove routing type MULTICAST, queues exists for address foo. Please delete queues before removing this routing type.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lionel.cons Lionel Cons
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: