<?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 Re: Camel InOut ExchangePattern with Activiti in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/camel-inout-exchangepattern-with-activiti/m-p/194396#M147526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's the code that I am using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;camelContext&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;route&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;from uri="cxf:bean:mySoapServiceEndpoint" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;to uri="activiti:myProcess" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/route&amp;gt;&lt;BR /&gt;&amp;lt;/camelContext&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2015 18:42:12 GMT</pubDate>
    <dc:creator>mitchworld</dc:creator>
    <dc:date>2015-05-27T18:42:12Z</dc:date>
    <item>
      <title>Camel InOut ExchangePattern with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/camel-inout-exchangepattern-with-activiti/m-p/194395#M147525</link>
      <description>Hi there,I need help with the following setup:Camel manages a CXF SOAP/HTTP web service endpoint for incoming requests (orders).When a order-request comes in, Camel activates the corresponding route.Once the corresponding camel route is called, I want Camel to delegate the request processing to an a</description>
      <pubDate>Wed, 27 May 2015 18:36:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/camel-inout-exchangepattern-with-activiti/m-p/194395#M147525</guid>
      <dc:creator>mitchworld</dc:creator>
      <dc:date>2015-05-27T18:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Camel InOut ExchangePattern with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/camel-inout-exchangepattern-with-activiti/m-p/194396#M147526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's the code that I am using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;camelContext&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;route&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;from uri="cxf:bean:mySoapServiceEndpoint" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;to uri="activiti:myProcess" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/route&amp;gt;&lt;BR /&gt;&amp;lt;/camelContext&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 18:42:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/camel-inout-exchangepattern-with-activiti/m-p/194396#M147526</guid>
      <dc:creator>mitchworld</dc:creator>
      <dc:date>2015-05-27T18:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Camel InOut ExchangePattern with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/camel-inout-exchangepattern-with-activiti/m-p/194397#M147527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Answering my own question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the activiti implementation code, Activiti doesn't set the body of the output message. So the Camel activiti-component itself doesn't support the InOut pattern.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To workaround this, after executing the Activiti process from Camel, you have to explicitly set the body content by adding something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;to uri="acticiti:myProcess" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;setBody&amp;gt;…&amp;lt;/setBody&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 06:08:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/camel-inout-exchangepattern-with-activiti/m-p/194397#M147527</guid>
      <dc:creator>mitchworld</dc:creator>
      <dc:date>2015-05-28T06:08:00Z</dc:date>
    </item>
  </channel>
</rss>

