Hi all,
I am using HornetQ under JbossEAP
My configuration XML in JBoss are like bellow
<pooled-connection-factory name="hornetq-ra">
<transaction mode="xa"/>
<connectors>
<connector-ref connector-name="in-vm"/>
</connectors>
<entries>
<entry name="java:/JmsXA"/>
</entries>
</pooled-connection-factory>
<jms-queue name="myQueue">
<entry name="queue/queueName"/>
<entry name="java:jboss/exported/jms/queue/queueName"/>
</jms-queue>
In the MDB i am using TransactionType CONTAINER and TransactionAttribute REQUIRED
The MDB is called but a lot of times every message, and looks like the message is not consumed from the queue.
In the JBOSS log I can see
[org.hornetq.ra] (Thread-2 (HornetQ-client-global-threads-1136619173)) HQ152006: Unable to call after delivery: javax.resource.spi.LocalTransactionException: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
[org.hornetq.core.server] (Thread-4 (HornetQ-scheduled-threads-161191419)) HQ222103: transaction with xid XidImpl (161406466 bq:0.0.0.0.0.0.0.0.0.0.-1.-1.-84.16.-12.109.-94.-64.-27.-108.87.-4.-8.-100.0.0.3.6.0.0.0.0.0.0.0.0 formatID:131077 gtxid:0.0.0.0.0.0.0.0.0.0.-1.-1.-84.16.-12.109.-94.-64.-27.-108.87.-4.-8.-100.0.0.3.5.49 base64:AAAAAAAAAAAAAP__rBD0baLA5ZRX_PicAAADBgAAAAAAAAAAAAAAAAAAAAAAAP__rBD0baLA5ZRX_PicAAADBTEHAgIA timed out
I have also tried to use Transaction Type BEAN and Transaction Attribute REQUIRES_NEW without sucess.
Could you please assist in this configuration?
TIA