You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2018/01/04 21:15:00 UTC

[jira] [Commented] (ARTEMIS-1582) Autocreated ANYCAST addresses for AMQP clients always create durable queues.

    [ https://issues.apache.org/jira/browse/ARTEMIS-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16312039#comment-16312039 ] 

Justin Bertram commented on ARTEMIS-1582:
-----------------------------------------

As far as I can tell this is working as designed.

If a JMS client creates a consumer on what it views as a "queue" then on the broker an anycast address and queue will be auto-created.  This will give the JMS client the semantics it expects.

If a JMS client sends a message (regardless of durability) to what it views as a "queue" then on the broker an anycast address and queue will be auto-created.  When the message-count and consumer-count for the auto-created queue are both 0 then the queue will be auto-deleted.  When an auto-created address no longer has any associated queues then it will be auto-deleted.

If a JMS client creates a non-durable subscription on what it views as a "topic" then a multicast address and queue will be auto-created (with the address representing the topic and the queue representing the subscription).

Can you elaborate as to what the problem is?

> Autocreated ANYCAST addresses for AMQP clients always create durable queues.
> ----------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1582
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1582
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 2.4.0
>            Reporter: Johan
>         Attachments: Artemis1582Test.java, pom.xml
>
>
> When creating a queue consumer (non-durable subscription) via qpid JMS/AMQP on an autocreated anycast address a durable queue will be created.
> When sending a non-persistent message to a queue via qpid JMS/AMQP on an autocreated anycast address a durable queue will be created.
> For multicast addresses however, non durable queues are created.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)