You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jiri Danek (JIRA)" <ji...@apache.org> on 2017/03/05 11:07:32 UTC

[jira] [Updated] (ARTEMIS-1018) Duplicate error ids on different error mesages

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

Jiri Danek updated ARTEMIS-1018:
--------------------------------
    Description: 
Some messages happen to have the same id, for example

{noformat}
   @Message(id = 119019, value = "Session is closed")
   ActiveMQObjectClosedException sessionClosed();

  @Message(id = 119019, value = "Queue already exists {0}", format = Message.Format.MESSAGE_FORMAT)
   ActiveMQQueueExistsException queueAlreadyExists(SimpleString queueName);
{noformat}

(I stumbled upon this when trying to send message from artemis-jms-client-1.5.4 to artemis-server-2.0.0; I searched for the message code of the message I got and got two results, instead of one.)

It may not be a problem, since one is ActiveMQClientMessageBundle and the other is ActiveMQMessage bundle, but still.

  was:
Some messages happen to have the same id, for example

{noformat}
   @Message(id = 119019, value = "Session is closed")
   ActiveMQObjectClosedException sessionClosed();

  @Message(id = 119019, value = "Queue already exists {0}", format = Message.Format.MESSAGE_FORMAT)
   ActiveMQQueueExistsException queueAlreadyExists(SimpleString queueName);
{noformat}

(I stumbled upon this when trying to send message from artemis-jms-client-1.5.4 to artemis-server-2.0.0; I searched for the message code of the message I got and got two results, instead of one.)


> Duplicate error ids on different error mesages
> ----------------------------------------------
>
>                 Key: ARTEMIS-1018
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1018
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.0.0
>            Reporter: Jiri Danek
>            Priority: Trivial
>
> Some messages happen to have the same id, for example
> {noformat}
>    @Message(id = 119019, value = "Session is closed")
>    ActiveMQObjectClosedException sessionClosed();
>   @Message(id = 119019, value = "Queue already exists {0}", format = Message.Format.MESSAGE_FORMAT)
>    ActiveMQQueueExistsException queueAlreadyExists(SimpleString queueName);
> {noformat}
> (I stumbled upon this when trying to send message from artemis-jms-client-1.5.4 to artemis-server-2.0.0; I searched for the message code of the message I got and got two results, instead of one.)
> It may not be a problem, since one is ActiveMQClientMessageBundle and the other is ActiveMQMessage bundle, but still.



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