You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2006/06/02 17:56:51 UTC

[jira] Created: (SM-443) Change transaction semantic and improve support

Change transaction semantic and improve support
-----------------------------------------------

         Key: SM-443
         URL: https://issues.apache.org/activemq/browse/SM-443
     Project: ServiceMix
        Type: Improvement

  Components: servicemix-core  
    Reporter: Guillaume Nodet
 Assigned to: Guillaume Nodet 
     Fix For: 3.0-M2


These changes are mainly due to the fact they ServiceMix now supports multiple flows.
A few changes are needed:
  * if an exchange is created and sent transactionally, the transaction will flow with the exchange if it is sent using the sendSync method.
        If it is sent using the send method (asynchronous), the flow should be the transaction boundary.
  * the StFlow can not support transactional exchanges due to possible deadlocks
  * once an exchange has been sent using a flow, the same flow will be used every time this exchange is sent
 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (SM-443) Change transaction semantic and improve support

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-443?page=all ]
     
Guillaume Nodet resolved SM-443:
--------------------------------

    Resolution: Fixed

Author: gnodet
Date: Fri Jun  2 08:59:39 2006
New Revision: 411195

URL: http://svn.apache.org/viewvc?rev=411195&view=rev
Log:
SM-443: Change transaction semantic using send/sendSync and improve transactions support

Added:
    incubator/servicemix/trunk/servicemix-core/src/test/java/org/apache/servicemix/jbi/messaging/TransactionsTest.java
Modified:
    incubator/servicemix/trunk/servicemix-core/pom.xml
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/AutoDeploymentService.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/MBeanServerContext.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/DeliveryChannelImpl.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/MessageExchangeImpl.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/nmr/DefaultBroker.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/nmr/flow/AbstractFlow.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/nmr/flow/DefaultFlowChooser.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/nmr/flow/Flow.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/nmr/flow/FlowChooser.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/nmr/flow/FlowProvider.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/nmr/flow/jca/JCAFlow.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/nmr/flow/jms/JMSFlow.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/nmr/flow/seda/SedaFlow.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/nmr/flow/seda/SedaQueue.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/nmr/flow/st/STFlow.java
    incubator/servicemix/trunk/servicemix-core/src/test/java/org/apache/servicemix/jbi/messaging/SedaFlowTransactionTest.java
    incubator/servicemix/trunk/servicemix-core/src/test/java/org/apache/servicemix/jbi/messaging/StFlowTransactionTest.java
    incubator/servicemix/trunk/servicemix-core/src/test/resources/log4j.properties



> Change transaction semantic and improve support
> -----------------------------------------------
>
>          Key: SM-443
>          URL: https://issues.apache.org/activemq/browse/SM-443
>      Project: ServiceMix
>         Type: Improvement

>   Components: servicemix-core
>     Reporter: Guillaume Nodet
>     Assignee: Guillaume Nodet
>      Fix For: 3.0-M2

>
>
> These changes are mainly due to the fact they ServiceMix now supports multiple flows.
> A few changes are needed:
>   * if an exchange is created and sent transactionally, the transaction will flow with the exchange if it is sent using the sendSync method.
>         If it is sent using the send method (asynchronous), the flow should be the transaction boundary.
>   * the StFlow can not support transactional exchanges due to possible deadlocks
>   * once an exchange has been sent using a flow, the same flow will be used every time this exchange is sent
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira