activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Holger Bruch (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-959) Wrong message removed from store when using composite destinations
Date Fri, 06 Oct 2006 18:16:09 GMT
Wrong message removed from store when using composite destinations 
-------------------------------------------------------------------

                 Key: AMQ-959
                 URL: https://issues.apache.org/activemq/browse/AMQ-959
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 4.0.2
         Environment: AMQ4.0.2 using jdbc-persistence
            Reporter: Holger Bruch
         Attachments: CopyMessageId.diff

When sending messages to composite destinations, for each simple destination a copy of the
original message is created an sent. However, it's internal messageId is reused. As the messageId
carries the brokerSequenceId, which is used as primary key in the jdbc message store, this
is overwritten by the last send. All messages refer to the same store row so that the first
acknowledge removes the content for all MessageReferences in memory.

The attached patch creates a copy of the messageId when copying a message.

Regards,
Holger




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message