activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Andre Pearce (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ARTEMIS-1206) [Core JMS Client] Violates JMS Specification - allows two active connections with same clientid
Date Mon, 05 Jun 2017 20:52:04 GMT

     [ https://issues.apache.org/jira/browse/ARTEMIS-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Andre Pearce resolved ARTEMIS-1206.
-------------------------------------------
    Resolution: Invalid

This is invalid, as discussed on IRC, the test was setting the client id in the CF, on moving
this to setting it on the connection via JMS API, there still is a difference in behaviour
of when it is valid to be able to set clientId though it seems the behaviour isn't clear in
JMS spec, where QPID and ActiveMQ5 allow you to set an exception listener first, where as
currently Artemis requires the very first call to setClientId if you wish to set it. 

As discussed will create and align the clients so even so not detailed in spec, a user of
ActiveMQ5 client or QPID client can expect the same behaviour.

> [Core JMS Client] Violates JMS Specification - allows two active connections with same
clientid
> -----------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1206
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1206
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Michael Andre Pearce
>         Attachments: JMSDurableConsumerTest2.java, JMSDurableConsumerTest2.java
>
>
> Currently it is possible to make two completely separate client connections to the broker,
with the same client id.
> This was found/raised as a possible bug in Core Client on looking at differing behaviours
between the Core JMS Client and the Qpid AMQP Client.
> https://issues.apache.org/jira/browse/ARTEMIS-1205
> Attached is a test case, where by the Qpid Client errors, and the Core Client does not,
executing the same client code.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message