[jboss-jira] [JBoss JIRA] (AS7-3143) JMS Messages with CMP and transactional=true are not commited to the queue

Carlo de Wolf (Commented) (JIRA) jira-events at lists.jboss.org
Fri Jan 6 10:28:09 EST 2012


    [ https://issues.jboss.org/browse/AS7-3143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654341#comment-12654341 ] 

Carlo de Wolf commented on AS7-3143:
------------------------------------

The Transaction Manager does not play a role in a JMS local transaction. That part is managed by the JMS provider. Any transactional resources used outside of JMS will be enlisted on the TM transaction. So you'll not see the TM reporting a warning. It really is *not pretty*. ;-)
                
> JMS Messages with CMP and transactional=true are not commited to the queue
> --------------------------------------------------------------------------
>
>                 Key: AS7-3143
>                 URL: https://issues.jboss.org/browse/AS7-3143
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JMS
>    Affects Versions: 7.0.1.Final, 7.1.0.CR1, 7.1.0.CR1b
>         Environment: Windows 7, Java 1.6 update 24
>            Reporter: Markus Döring
>            Assignee: Carlo de Wolf
>             Fix For: 7.1.0.Final
>
>         Attachments: TestEAR.ear.zip, TestEAR.ear.zip, TestEAR.ear.zip
>
>
> When sending a message to a JMS queue using container managed transactions and setting transactional=true (connection.createSession(true, Session.AUTO_ACKNOWLEDGE)), the message is never added to the queue.
> Using transactional=false is not an option because the message is added to the queue immediately and not after transaction commit.
> This can be reproduced with the attached EAR (exploded deployment, so just unpack the .zip in the deployments directory) and the standalone-full.xml (JBoss 7.1.0.CR1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list