views:

63

answers:

0

Can someone help me with the settings required for enabling global transactions on a queue listener and data source. I am able to achieve it with database, but my listeners stop working

I am using following configuration for it:

<tx:jta-transaction-manager/>
<jms:listener-container connection-factory="jmsConnectionFactory" transaction-manager="transactionManager">
  <jms:listener destination="A" ref="aresponseMessageListener" />
  <jms:listener destination="B" ref="arequestMessageListener" />  
 </jms:listener-container>