<?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: Integrating Activiti with Apache Camel in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13847#M5870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is great stuff!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this would be a good addition to the Activiti framework.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll have to play a little bit with the code to get a really good grasp on it, but this sure looks very promising!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Jan 2011 09:06:35 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2011-01-08T09:06:35Z</dc:date>
    <item>
      <title>Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13840#M5863</link>
      <description>Hello,I created simple component for integration of Activiti with Apache Camel (http://camel.apache.org/). There are two use cases:- implementing receive tasks using camel, so that one can write camel route:from("direct:a").to("activiti:simpleProcess:receive");‍which signals activity with id receive</description>
      <pubDate>Mon, 20 Dec 2010 21:31:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13840#M5863</guid>
      <dc:creator>mproch</dc:creator>
      <dc:date>2010-12-20T21:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13841#M5864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;sorry for the late reply.&amp;nbsp; can you elaborate on what exactly you want to contribute to activiti?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fyi: we don't know camel, but we're interested in the integration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 12:56:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13841#M5864</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-01-03T12:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13842#M5865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thx for answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;1. Apache Camel - &lt;A href="http://camel.apache.org/" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/&lt;/A&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN&gt;Camel is a&amp;nbsp; integration framework based on known Enterprise Integration Patterns with powerful Bean Integration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's somewhat similar to Mule, the main differences are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; a) Camel is more a library than container - it can be embedded in virtually every environment - one of most common usages is acting as EIP implementation for Apache Servicemix ESB - &lt;/SPAN&gt;&lt;A href="http://servicemix.apache.org/home.html" rel="nofollow noopener noreferrer"&gt;http://servicemix.apache.org/home.html&lt;/A&gt;&lt;SPAN&gt;, or Apache Karaf OSGi container - &lt;/SPAN&gt;&lt;A href="http://karaf.apache.org/" rel="nofollow noopener noreferrer"&gt;http://karaf.apache.org/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; b) Camel's strong point is Java DSL, which allows for easy definition of integration routes (called flows in Mule)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; What's more:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; a) It's v. easy to add new components (called modules/transports in Mule) - there are more than 70 I guess&amp;nbsp; - &lt;/SPAN&gt;&lt;A href="http://camel.apache.org/components.html" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/components.html&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Components are autodiscovered on classpath, and identified by uri (e.g. file:///tmp - identifies endpoint reading or writing files to folder /tmp, jsm:topic:myTopic - identifies endpoint publishing or subscribing to myTopic)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; b) It's very easy to integrate Camel with spring or OSGi Blueprint&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;2. What we want to do&lt;/STRONG&gt;&lt;SPAN&gt;Our main use case is to be able to deploy Activiti processes in OSGi container. We use mainly Camel for our integration needs, so we thought it'd be nice to be able to perform integration (both calling services from process, and processes waiting for messages from external systems) by custom Camel component.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;3. How would it work?&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The process would be deployed as a OSGi bundle, together with appropriate camel context, using OSGi deployment model currently available in Activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/mproch/activitiCamelKarafSample/tree/master/process/src/main" rel="nofollow noopener noreferrer"&gt;https://github.com/mproch/activitiCamelKarafSample/tree/master/process/src/main&lt;/A&gt;&lt;SPAN&gt; - here is sample project structure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a) setup&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This part is a bit tricky.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First, you have to create CamelBehaviour class, which has to know which camel context (there could be many for many processes) should be invoked. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here: &lt;/SPAN&gt;&lt;A href="https://github.com/mproch/camel-activiti/blob/master/sample/src/main/resources/camel-activiti-context.xml" rel="nofollow noopener noreferrer"&gt;https://github.com/mproch/camel-activiti/blob/master/sample/src/main/resources/camel-activiti-context.xml&lt;/A&gt;&lt;SPAN&gt; is the example for monolithic environment, in OSGi context one has to use OSGi services, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as it's done here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/mproch/activitiCamelKarafSample/blob/master/bundle/src/main/resources/OSGI-INF/blueprint/context.xml" rel="nofollow noopener noreferrer"&gt;https://github.com/mproch/activitiCamelKarafSample/blob/master/bundle/src/main/resources/OSGI-INF/blueprint/context.xml&lt;/A&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;A href="https://github.com/mproch/activitiCamelKarafSample/blob/master/process/src/main/resources/META-INF/spring/context.xml" rel="nofollow noopener noreferrer"&gt;https://github.com/mproch/activitiCamelKarafSample/blob/master/process/src/main/resources/META-INF/spring/context.xml&lt;/A&gt;&lt;SPAN&gt;. For OSGi example I had to do some extesion of activiti-osgi to be able to use blueprint beans in activiti expressions, btw.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;b) invoking Camel route from ServiceTask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In process code, it's as simple as adding &lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;serviceTask id="serviceTask" activiti:delegateExpression="${camel}"/&amp;gt;&lt;/CODE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then CamelBehaviour is responsible for finding Camel route starting with &lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;from("activiti:camelProcess:serviceTask")….)&lt;/CODE&gt;&lt;SPAN&gt;(camelProcess is the processName). Exchange is created with empty body, and process variable values as properties (maybe some better solution is needed), and passed to the route, e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;from("activiti:camelProcess:serviceTask")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .to("log:smileytongue:l.touk")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .setBody().property("var1")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .to("file:///tmp/activiti/serviceTask");&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;will log contents to 'pl.touk' log appender and then create file in /tmp/activiti/serviceTask, with value of process variable var1 as content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;c) Invoking process by camel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When process is in receive node:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;receiveTask id="receive" name="Wait State"/&amp;gt;&lt;/CODE&gt;&lt;SPAN&gt;it can be invoked (signaled) by following camel route:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from( "file:///tmp/activiti/receive")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .convertBodyTo(String.class)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .setProperty("PROCESS_KEY_PROPERTY").xpath("//@key")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .to("activiti:camelProcess:receive");&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;It scans /tmp/activiti/receive directory. When file appears, it's parsed as XML and attribute key is set as process business key. Then Camel component looks for process instance of camelProcess with this key, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;waiting in activity named receive. Then it signals this process, it also passes exchange properties as process variables (probably need some better solution).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Summary:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This component is not a rocket science, especially configuration is slightly awkward in OSGi environment, but it enables us to leverage power of Camel in Activiti. Guess it would serve some similar role as Mule integration, but for Apache Camel users, which are also quite numerous &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 10:40:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13842#M5865</guid>
      <dc:creator>mproch</dc:creator>
      <dc:date>2011-01-07T10:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13843#M5866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;sorry for the late reply.&amp;nbsp; can you elaborate on what exactly you want to contribute to activiti?&lt;BR /&gt;fyi: we don't know camel, but we're interested in the integration.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Tom&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean with you don't know Camel? We spoke at the Devoxx 2010 conference &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; You and Tijs came by the FuseSource booth.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had a look at the activiti-camel component and it seems good work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maciek also posted on the Camel forum&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://camel.465427.n5.nabble.com/Integrating-camel-with-activiti-tp3331707p3331707.html" rel="nofollow noopener noreferrer"&gt;http://camel.465427.n5.nabble.com/Integrating-camel-with-activiti-tp3331707p3331707.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So we are talking about where the component should live. Obviously we can host it at Apache Camel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I wonder the Activiti team plans to host integrations to 3rd party as well? If so maybe this component is better hosted at Acitivi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Claus Ibsen&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://davsclaus.blogspot.com/" rel="nofollow noopener noreferrer"&gt;http://davsclaus.blogspot.com/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 12:29:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13843#M5866</guid>
      <dc:creator>davsclaus</dc:creator>
      <dc:date>2011-01-07T12:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13844#M5867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If Maciek had not worked on the the Camel component, it was on my todo list for activiti anyway, but I'm glad it's done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it would make sense to host it in Activiti …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 12:33:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13844#M5867</guid>
      <dc:creator>gnodet</dc:creator>
      <dc:date>2011-01-07T12:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13845#M5868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Maciek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all a little disclaimer : I've just discovered Camel and don't know much about Activiti. This being said, here is my use case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The project I'm currently working on uses Camel. There are plenty of Camel routes, all completely stateless and it works fine. Now we need to go further and we are talking about workflows : we need to take some of these routes, link them together, know at which step of the workflow an error occurred… and so one. So basically we need to orchestrate our Camel routes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would your component allow this kind of things ? Can I use Activity processes to invoke Camel routes in a seamless way ? In our use case I still don't see the inverse conversation (Camel routes accessing Activity) but I definitely need Activity to orchestrate Camel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Antonio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 13:38:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13845#M5868</guid>
      <dc:creator>agoncal</dc:creator>
      <dc:date>2011-01-07T13:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13846#M5869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;+1 for having Activiti/Camel integration. With Mule and Spring Integration support in the pipeline it makes sense to also add Camel integration. Then Activiti will have support for three leading open source integration platforms: Mule, Spring Integration and Camel.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 21:44:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13846#M5869</guid>
      <dc:creator>richardketteler</dc:creator>
      <dc:date>2011-01-07T21:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13847#M5870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is great stuff!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this would be a good addition to the Activiti framework.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll have to play a little bit with the code to get a really good grasp on it, but this sure looks very promising!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jan 2011 09:06:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13847#M5870</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-01-08T09:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13848#M5871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks very interesting and promising indeed.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're certainly open to accept all code in our codebase which is appropriate to be included in Activiti.&amp;nbsp; Ideally one contributor would take the lead and tries to find consensus.&amp;nbsp;&amp;nbsp; There seem to be multiple people interested in contributing this.&amp;nbsp; Who all is volunteering to lead this Activiti code base part of the Activiti-Camel integration?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My guess would be that the Activiti-to-Camel integration should be contributed to Activiti.&amp;nbsp; Ideally that would be a service task that calls out to Camel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would think that the camel routes that call out to Activiti would be best contributed to the camel project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does all this make sense?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't yet see the value of OSGi deployment of processes.&amp;nbsp; As the process instances live in the DB.&amp;nbsp; And the process instances have a reference to the process definition.&amp;nbsp; If the process definition lives on the classpath (or in this case as an osgi bundle) then the process instance can get easier out of sync with their process definition.&amp;nbsp; And this gets even more tricky in cluster situations.&amp;nbsp; If someone wants to contribute OSGi deployment of business archives or processes, I would like to get a better understanding of why that is considered beneficial over the storage of business archives in the DB as we do now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jan 2011 19:52:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13848#M5871</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-01-08T19:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13849#M5872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;…one more thing: if you think that it's best to host the camel routes code also at Activiti, I'm definitely OK with that!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jan 2011 20:10:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13849#M5872</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-01-08T20:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13850#M5873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for feedback to everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it would be easier to host both invocations camel-&amp;gt;activiti and activiti-&amp;gt;camel in same project. I guess it would be difficult for camel to have two separate components with one uri schema.&amp;nbsp; I think that most usecases would involve integration in both ways, anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for OSGi deployment of business archives/processes - it's already contributed I believe - in activiti-osgi module? At least I'm using it &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree that keeping DB and OSGi container in sync is tricky. I believe that the biggest advantage would be to be able to deploy java classes with process files - but for that classloading mechanism would have to be extended. There is already issue on that: &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-324" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-324&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jan 2011 22:31:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13850#M5873</guid>
      <dc:creator>mproch</dc:creator>
      <dc:date>2011-01-08T22:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13851#M5874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it only makes sense to have one module with the activiti-camel integration. The module should work both ways.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And that's what the current logic could easily be extended to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Camel Component API has APIs for such use-cases (consumer and producer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Claus&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jan 2011 08:14:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13851#M5874</guid>
      <dc:creator>davsclaus</dc:creator>
      <dc:date>2011-01-09T08:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13852#M5875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maciek, are you interested in bringing that code to Activiti codebase?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, then here's instructions on how to get started as an Activiti developer: &lt;/SPAN&gt;&lt;A href="http://docs.codehaus.org/pages/viewpage.action?pageId=163872771" rel="nofollow noopener noreferrer"&gt;http://docs.codehaus.org/pages/viewpage.action?pageId=163872771&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;We will guide you through all those steps and support you in making the contribution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 08:31:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13852#M5875</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-01-10T08:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13853#M5876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tom, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, I would be very pleased to do this. I will send you&amp;nbsp; the contribution agreement and prepare the code to be included - add some docs, rename packages and so on. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;maciek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 08:51:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13853#M5876</guid>
      <dc:creator>mproch</dc:creator>
      <dc:date>2011-01-10T08:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13854#M5877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Interesting initiative. Looking forward to it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody maybe provide a small "near real life" example using it end to end? That would be really interesting to see the whole picture.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since we currently started a project caring about the correlation of asynchronous responses (beside other stuff), could Camel handle that as well somehow? I currently assume the Camel stuff is stateless, or am I wrong on this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 18:00:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13854#M5877</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-01-10T18:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13855#M5878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bernd, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;first version of code is already in svn - it still needs some changes, though. I will try to make some more decent example in next days and put it on my github&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for Camel - yes, it's basically stateless, however, there are some features that enable keeping state between exchanges, for example using&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://camel.apache.org/hawtdb.html" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/hawtdb.html&lt;/A&gt;&lt;SPAN&gt;. With some effort, I think it would be possible to handle asynchronous responses - although I'm not really sure about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I read your blog about asynchronous responses - it looks really interesting, but looking at the post and camunda fox psi project but I still don't see how would you like to handle such situations - i.e. how would code &amp;amp; configuration look like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But maybe this starts to become slightly non-activiti topic&amp;nbsp; &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 11:09:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13855#M5878</guid>
      <dc:creator>mproch</dc:creator>
      <dc:date>2011-01-12T11:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13856#M5879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, waiting for easy to understand examples &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For PSI: We just started. Give us some weeks to present an easy to understand example for you in this case (working out of the box with Activiti and jBPM 3 :-)). We do this together with a customer in an enterprise environment with multiple clusters and huge amounts of processes. So hawtdb doesn't sound like an option &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 18:20:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13856#M5879</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-01-12T18:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13857#M5880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just wanted to know how the Activiti - Camel module is going?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anything the Camel community can do to help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 08:06:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13857#M5880</guid>
      <dc:creator>davsclaus</dc:creator>
      <dc:date>2011-04-17T08:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Activiti with Apache Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13858#M5881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any update on the examples and notes. Could you please point to where I can find them if they are already are?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2011 02:18:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/integrating-activiti-with-apache-camel/m-p/13858#M5881</guid>
      <dc:creator>psiva</dc:creator>
      <dc:date>2011-05-14T02:18:19Z</dc:date>
    </item>
  </channel>
</rss>

