[
https://issues.jboss.org/browse/AS7-3143?page=com.atlassian.jira.plugin.s...
]
Carlo de Wolf commented on AS7-3143:
------------------------------------
I see both messages being processed correctly.
{noformat}
13:47:26,335 INFO [de.tccproducts.test.JMSTest1] (http-localhost-127.0.0.1-8080-2)
beforeSend
13:47:26,531 INFO [de.tccproducts.test.TestServiceBean] (http-localhost-127.0.0.1-8080-2)
Nontransactional message send...
13:47:31,531 INFO [de.tccproducts.test.TestServiceBean] (http-localhost-127.0.0.1-8080-2)
Nontransactional message commit...
13:47:31,537 INFO [de.tccproducts.test.JMSTest1] (http-localhost-127.0.0.1-8080-2)
afterSend
13:47:31,541 INFO [de.tccproducts.test.TestMDB] (Thread-1
(group:HornetQ-client-global-threads-1183997638)) Processing message:
HornetQMessage[ID:16f0a30a-3609-11e1-87a7-0024d7e46570]:PERSISTENT
13:48:05,115 INFO [de.tccproducts.test.JMSTest2] (http-localhost-127.0.0.1-8080-2)
beforeSend
13:48:05,115 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool]
(http-localhost-127.0.0.1-8080-2) IJ000612: Destroying connection that could not be
successfully matched:
org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@24acafd0[state=NORMAL
managed connection=org.hornetq.ra.HornetQRAManagedConnection@51229f49 connection handles=0
lastUse=1325594851537 trackByTx=false
pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@38079b3c pool internal
context=org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool@2ff25b81
xaResource=XAResourceWrapperImpl@60357793[xaResource=org.hornetq.ra.HornetQRAXAResource(a)7b609ce0
pad=false overrideRmValue=false productName=HornetQ productVersion=2.0
jndiName=java:/JmsXA] txSync=null]
13:48:05,123 INFO [de.tccproducts.test.TestServiceBean] (http-localhost-127.0.0.1-8080-2)
Transactional message send...
13:48:10,123 INFO [de.tccproducts.test.TestServiceBean] (http-localhost-127.0.0.1-8080-2)
Transactional message commit...
13:48:10,126 INFO [de.tccproducts.test.JMSTest2] (http-localhost-127.0.0.1-8080-2)
afterSend
13:48:10,127 INFO [de.tccproducts.test.TestMDB] (Thread-0
(group:HornetQ-client-global-threads-1183997638)) Processing message:
HornetQMessage[ID:2df17620-3609-11e1-87a7-0024d7e46570]:PERSISTENT
{noformat}
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: Clebert Suconic
Attachments: 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