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

[jira] [Comment Edited] (ARTEMIS-1596) Anonymous STOMP consumer/producer auto-creates address with wrong routing-type

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

Johan Stenberg edited comment on ARTEMIS-1596 at 1/10/18 3:30 PM:
------------------------------------------------------------------

Btw. [this|https://github.com/apache/activemq-artemis/blob/master/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompConnection.java#L270] also looks a bit fishy. Either the "routingType != null" check is redundant or what actually meant was "routingType == null || routingType == RoutingType.MULTICAST" or something. Also in this if-branch only the address but not the queue would be auto-created.


was (Author: johan1):
Btw. [this|https://github.com/apache/activemq-artemis/blob/master/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompConnection.java#L270] also looks a bit fishy. Either the "routingType != null" check is redundant or what actually meant was "routingType == null || routingType == RoutingType.MULTICAST" or something. Also in this if branch only the address but not the queue would be auto-created.

> Anonymous STOMP consumer/producer auto-creates address with wrong routing-type
> ------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1596
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1596
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: STOMP
>    Affects Versions: 2.4.0
>         Environment: Artemis 2.5.0-SNAPSHOT
>            Reporter: Johan Stenberg
>            Assignee: Justin Bertram
>         Attachments: ArtemisTest.java, pom.xml
>
>
> The routing type defined in the address settings seems to be ignored.



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