Re: Problem with JMS transaction

2011-05-10 Thread Céline Bugaud
Hi, I just changed the settings to remove the property "acknowledgementModeName", and I still lost a message. I was able to reproduce the problem in a test project, I send its spring configuration as an attachement. On Tue, May 10, 2011 at 8:40 AM, Claus Ibsen wrote: > Remove this >         > >

Re: Problem with JMS transaction

2011-05-09 Thread Claus Ibsen
Remove this As when you use transacted=true, it has to use TRANSACTED_ACKNOWLEDGE. So do not override/change this setting. 2011/5/10 Céline Bugaud : > Hi Ashwin, > > I didn't sent my entire spring configuration, but my ActiveMQComponent > was already linked to the transactionManager : >

Re: Problem with JMS transaction

2011-05-09 Thread Céline Bugaud
Hi Ashwin, I didn't sent my entire spring configuration, but my ActiveMQComponent was already linked to the transactionManager :

Re: Problem with JMS transaction

2011-05-09 Thread Ashwin Karpe
Hi, Sorry about the confusion... You do not need the second connection factory "activemq2". This is an error on my part. The key difference in your setup vs mine is that there is a "transactionManager" property set in my ActiveMQ component and the "transacted" property is set to true . This wires

Re: Problem with JMS transaction

2011-05-09 Thread Céline Bugaud
Hello Ashwin, Thank you for the quick reply ! The only major difference I see between our configurations is that you create two differents ActiveMQComponent, one per queue. In my configurations the two queues are using the same ActiveMQComponent, configured with the transactionManager. Is that w

Re: Problem with JMS transaction

2011-05-09 Thread Ashwin Karpe
Hi, Looks like you have not wired your amqTransactionManager correctly to your connectionFactory and hence the transaction is not properly wired to the JMS endpoint. Please check the example below. Cheers, Ashwin... http://www.springframewo