servicemix-commits mailing list archives

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

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

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

Modified: servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/JmsConsumerEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/JmsConsumerEndpoint.java?rev=638492&r1=638491&r2=638492&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/JmsConsumerEndpoint.java
(original)
+++ servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/endpoints/JmsConsumerEndpoint.java
Tue Mar 18 11:29:25 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