When in a .NET Transaction the session needs to block in the close method until the DTC completes the open TX. --------------------------------------------------------------------------------------------------------------
Key: AMQNET-326 URL: https://issues.apache.org/jira/browse/AMQNET-326 Project: ActiveMQ .Net Issue Type: Bug Components: ActiveMQ Affects Versions: 1.5.0 Reporter: Timothy Bish Assignee: Timothy Bish Fix For: 1.5.1 When closing a Session that is currently part of a Distributed Transaction the Session close method needs to block until the DTC completes the outstanding transaction, otherwise the state of the Session can be invalid as its parent connection is closing and cause a RemoveInfo for the session to be sent with the wrong lastDeliveredSequenceId. This causes message not dispatched to consumers but stored in prefetch to be marked as redelivered by the broker. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira