Yes. For CXF 2.x you need a spring PlatformTransactionManager. This can then be a specific manager for JMS or a real JTA Transaction manager.
Does it then work?

Christian

On 04.12.2014 15:34, Jason Pell wrote:
I have set this to true in the JMSCOnfiguration

I am using CXF 2.7.x.  I cannot upgrade to 3.x, so I need to get this
working using the JMS Configuration style.

What I am trying to get working is JMS managed transactions.  So If I throw
an runtime exception from my JAX-WS Implementation, I would expect the
message to be rolled back.

However this does not work as expected.  The JMSDestination expects a
PlatformTransactionManager to be configured in order for the rollback
process of the JMS Listener in spring to be executed.

I managed to get further by using

jmsConfig.setTransactionManager(new
JmsTransactionManager(connectionFactory));

Is this a bug in the cxf jms support or am I misunderstanding?



--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to