servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bsny...@apache.org
Subject svn commit: r638491 - /servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/JmsConsumerEndpoint.java
Date Tue, 18 Mar 2008 18:29:15 GMT
Author: bsnyder
Date: Tue Mar 18 11:29:12 2008
New Revision: 638491

URL: http://svn.apache.org/viewvc?rev=638491&view=rev
Log:
SM-1278 - While using DefaultMessageListenerContainer transactions are not properly rolled
back.

Modified:
    servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/JmsConsumerEndpoint.java

Modified: servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/JmsConsumerEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/JmsConsumerEndpoint.java?rev=638491&r1=638490&r2=638491&view=diff
==============================================================================
--- servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/JmsConsumerEndpoint.java
(original)
+++ servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/JmsConsumerEndpoint.java
Tue Mar 18 11:29:12 2008
@@ -517,6 +517,7 @@
                 cont.setTransactionManager(new JtaTransactionManager(tm));
             }
         } else if (TRANSACTED_JMS.equals(transacted)) {
+            cont.setSessionTransacted(true);
             if (jms102) {
                 cont.setTransactionManager(new JmsTransactionManager102(getConnectionFactory(),
isPubSubDomain()));
             } else {



Mime
View raw message