Did you set up a spring transaction manager bean? You will need it. Christian
-----Ursprüngliche Nachricht----- Von: mymacin [mailto:[email protected]] Gesendet: Freitag, 27. Mai 2011 11:38 An: [email protected] Betreff: SOAP over JMS Transactions I am trying to achieve transactions with SOAP over JMS .Basing on JMSfeatures i have configured jms end points.But I am unable to achieve transactions.I am using spring declarative @transactions but the transaction is not propagating with the jms message. Please check the below code and let me know if anything wrong with configuration. In the client end: <jaxws:client id="greeterJMSImplService" xmlns:greeterJMSImplService="http://cxf.apache.org/jms_greeter" serviceName="greeterJMSImplService:GreeterJMSImplService" address="jms://" serviceClass="foo.service.GreeterJMS"> <jaxws:features> <bean xmlns="http://www.springframework.org/schema/beans" class="org.apache.cxf.transport.jms.JMSConfigFeature" ><property name="jmsConfig" > <bean class="org.apache.cxf.transport.jms.JMSConfiguration" p:connectionFactory-ref="jmsConnectionFactory" p:targetDestination="SampleQueue2" p:useJms11="true" p:sessionTransacted="true" p:transactionManager-ref="JTAtransactionManager" /> </property> </bean> </jaxws:features> </jaxws:client> in the publisher end: <jaxws:endpoint address="jms://" xmlns:customerService="http://cxf.apache.org/customer_service" serviceName="customerService:CustomerService" implementor="#CustomerService"> <jaxws:features> <bean class="org.apache.cxf.transport.jms.JMSConfigFeature"> <property name="jmsConfig" > <bean class="org.apache.cxf.transport.jms.JMSConfiguration" p:connectionFactory-ref="jmsConnectionFactory" p:targetDestination="SampleQueue1" p:useJms11="true" p:sessionTransacted="true" p:transactionManager-ref="JTAtransactionManager" /> </property> </bean> </jaxws:features> </jaxws:endpoint> -- View this message in context: http://cxf.547215.n5.nabble.com/SOAP-over-JMS-Transactions-tp4431341p4431341.html Sent from the cxf-user mailing list archive at Nabble.com.
