<?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: Async send receive tasks in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154368#M108837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree that a single element in the BPMN process definition would be better than what we have now. But that would also be the solution I'm thinking of. We should introduce an enhanced camel service task that waits for the response to come back from Camel. So pretty much a combined service and receive task. &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>Fri, 04 Oct 2013 09:50:00 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2013-10-04T09:50:00Z</dc:date>
    <item>
      <title>Async send receive tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154365#M108834</link>
      <description>Hi,I read the post at: http://bpmn20inaction.blogspot.com/2012/12/implement-parallel-execution-in-activiti.html.This is a great post, and I was able to figure this out and implement it. We are evaluating jBPM and Activiti as potential solutions right now. I really like Activiti, but in this "true pa</description>
      <pubDate>Fri, 27 Sep 2013 15:41:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154365#M108834</guid>
      <dc:creator>ghollins</dc:creator>
      <dc:date>2013-09-27T15:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Async send receive tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154366#M108835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, we could definitely implement something similar. It's only not considered a best practice in most application servers to start creating new threads yourself like this. But I can understand that sometimes this kind of logic could be helpful. Could you create a JIRA for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 10:01:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154366#M108835</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-30T10:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Async send receive tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154367#M108836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Thanks for your response.&amp;nbsp; I created ACT-1800 for this (I filed it as a "New Feature").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got to thinking though, and perhaps there is a way to do this (only use a single node) with camel routes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the blog example routes are created that look something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;++++++++++++++&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from("activiti&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;arallelProcessTest:servicetask1?copyVariablesToProperties=true").setHeader("destination", constant("activiti&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;arallelProcessTest:receivetask1")).to("seda:asyncQueue1a");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;from("seda:asyncQueue1a?concurrentConsumers=100").to("bean:longTask?method=runLongTask(10000)").to("seda:receiveQueue1");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;from("seda:receiveQueue1").recipientList(header("destination"));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+++++++++++++++&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, maybe what I want could be accomplished by allowing the "destination" to be set to the next node in the flow, regardless of what node type it is.&amp;nbsp; In other words, the next node could be a gateway or a another task node… This way you wouldn't have to create another receive node.&amp;nbsp; I tried setting the destination to a gateway to bypass creating the receive node, but that didn't work…&amp;nbsp; Can you think of a way to forward to a non-receive node type like I described?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;++++++++++++&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do agree that it's not the best practice to start creating new threads.&amp;nbsp;&amp;nbsp; If when this is implemented, there was a way to decouple via message queues, and have a message consumer be the point that essentially triggers the "WorkItemManager.completeWorkItem" call, then that would avoid the spinning up a many active threads.&amp;nbsp; In other words a thread would be briefly created that puts a message in the queue, but it would almost instantly be destroyed.&amp;nbsp; Then a message consumer (perhaps a fixed pool of listener threads) would be waiting for the "workCompleted" message, which would then notify the engine…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 17:38:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154367#M108836</guid>
      <dc:creator>ghollins</dc:creator>
      <dc:date>2013-09-30T17:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Async send receive tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154368#M108837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree that a single element in the BPMN process definition would be better than what we have now. But that would also be the solution I'm thinking of. We should introduce an enhanced camel service task that waits for the response to come back from Camel. So pretty much a combined service and receive task. &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>Fri, 04 Oct 2013 09:50:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154368#M108837</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-10-04T09:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Async send receive tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154369#M108838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, the enhanced camel service task sounds like a good idea.&amp;nbsp; Do you know how far ahead in Activiti's roadmap that might be?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 15:33:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154369#M108838</guid>
      <dc:creator>ghollins</dc:creator>
      <dc:date>2013-10-14T15:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Async send receive tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154370#M108839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We just&amp;nbsp; released 5.14, so I'm thinking of 5.15. Could you create a JIRA issue for this?&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>Mon, 21 Oct 2013 14:22:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154370#M108839</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-10-21T14:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Async send receive tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154371#M108840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I previously created this JIRA issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-1800" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-1800&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It references this forum post in the description.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 23:42:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154371#M108840</guid>
      <dc:creator>ghollins</dc:creator>
      <dc:date>2013-10-28T23:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Async send receive tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154372#M108841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Jira and discussions on the topic do not match. In forum a camel task is discussed but in Jira there is no notion of Camel.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 13:28:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154372#M108841</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2014-10-21T13:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Async send receive tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154373#M108842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I remember from this discussion that we do not want to block the user thrad to wait for something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/start-process-synchronously-and-return-results-back" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/start-process-synchronously-and-return-results-back&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Otherwise I am eager to implement that part. We and I guess many others desperately need it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It will also help camel component to return values back to camel more elegantly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 13:33:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/async-send-receive-tasks/m-p/154373#M108842</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2014-10-21T13:33:08Z</dc:date>
    </item>
  </channel>
</rss>

