<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Spring Integration - Remoting in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/spring-integration-remoting/m-p/68102#M43589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are currently having a transaction issue when we use spring remoting inside our application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We used to do this remote calls using HTTP invocation, but this kind of invocation does not work with transactions. As soon as we execute&amp;nbsp; this (HTTP)remote call, we lose our existing transaction, this way a single complete rollback becomes impossible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To solve this problem we are looking for solutions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using EJB invocation would solve the transaction problems, but that will also have a significant impact on the existing applications/architecture.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That is why we post this question on the forum , because activiti suggests you should use spring integration; but does anyone have a best practice idea about combining remoting with the activiti way of life? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2011 09:09:51 GMT</pubDate>
    <dc:creator>tvanhoec</dc:creator>
    <dc:date>2011-04-13T09:09:51Z</dc:date>
    <item>
      <title>Spring Integration - Remoting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-integration-remoting/m-p/68102#M43589</link>
      <description>Hi everyone,We are currently having a transaction issue when we use spring remoting inside our application.We used to do this remote calls using HTTP invocation, but this kind of invocation does not work with transactions. As soon as we execute&amp;nbsp; this (HTTP)remote call, we lose our existing transacti</description>
      <pubDate>Wed, 13 Apr 2011 09:09:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-integration-remoting/m-p/68102#M43589</guid>
      <dc:creator>tvanhoec</dc:creator>
      <dc:date>2011-04-13T09:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Spring Integration - Remoting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-integration-remoting/m-p/68103#M43590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It will all depend on the transactional capabilities of the external service you are calling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using JMS for example, you could configure Spring transactions in such a way that it will share the same transaction (eg JTA).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another solution could be to 'model' catching exceptions when calling the remote service, and handling the flow yourself in your process (or simply throw a RuntimException that will rollback the Activiti process).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 07:45:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-integration-remoting/m-p/68103#M43590</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-04-14T07:45:43Z</dc:date>
    </item>
  </channel>
</rss>

