activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom (JIRA)" <>
Subject [jira] [Created] (AMQNET-385) SessionId not incrementing in message ID.
Date Tue, 29 May 2012 10:02:22 GMT
Tom created AMQNET-385:

             Summary: SessionId not incrementing in message ID.
                 Key: AMQNET-385
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: NMS
    Affects Versions: 1.5.5
            Reporter: Tom
            Assignee: Jim Gomes

Using version 1.5.5 of Apache.NMS.ActiveMq.

The following simple test shows that the sessionId portion of the NMSMessageId isn't getting
incremented as new sessions are created.

for (int n = 0; n < 100; n++)
   IConnection connection = _connectionFactory.Create();
   using (ISession session = connection.CreateSession(AcknowledgementMode.AutoAcknowledge))
      using (IMessageProducer prod = session.CreateProducer(session.GetTopic("TestTopic")))
         IMessage msg = prod.CreateTextMessage("Wibble");


I would expect to see both the producerId and sessionId incrementing each time.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message