<?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: Weird issue when using Camel with Activiti in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/weird-issue-when-using-camel-with-activiti/m-p/196623#M149753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not sure if ActivitiRule creates a real spring context or it only reads the config file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Safer is to use something like this for test cases:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@ContextConfiguration("classpath:camel-activiti-context.xml")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public class AsyncPingTest extends SpringActivitiTestCase {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; @Autowired&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; RuntimeService runtimeService;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; @Deployment(resources = {"process/asyncPing.bpmn20.xml"})&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; public void testRunProcess() throws Exception {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("asyncPingProcess");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;Execution&amp;gt; executionList = runtimeService.createExecutionQuery().list();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2014 16:16:07 GMT</pubDate>
    <dc:creator>smirzai</dc:creator>
    <dc:date>2014-11-05T16:16:07Z</dc:date>
    <item>
      <title>Weird issue when using Camel with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/weird-issue-when-using-camel-with-activiti/m-p/196622#M149752</link>
      <description>Hello all,First I'm quite a noob in Spring, Activiti and Camel so I hope that my issue is an easy one ^^. And sorry for the previous topic which is not working…So for my further needs, I want to use Camel for a long processing task.I've then created the following flow to test:&amp;lt;?xml version="1.0"</description>
      <pubDate>Tue, 21 Oct 2014 10:07:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/weird-issue-when-using-camel-with-activiti/m-p/196622#M149752</guid>
      <dc:creator>sdesbure</dc:creator>
      <dc:date>2014-10-21T10:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Weird issue when using Camel with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/weird-issue-when-using-camel-with-activiti/m-p/196623#M149753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not sure if ActivitiRule creates a real spring context or it only reads the config file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Safer is to use something like this for test cases:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@ContextConfiguration("classpath:camel-activiti-context.xml")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public class AsyncPingTest extends SpringActivitiTestCase {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; @Autowired&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; RuntimeService runtimeService;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; @Deployment(resources = {"process/asyncPing.bpmn20.xml"})&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; public void testRunProcess() throws Exception {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("asyncPingProcess");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;Execution&amp;gt; executionList = runtimeService.createExecutionQuery().list();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 16:16:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/weird-issue-when-using-camel-with-activiti/m-p/196623#M149753</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2014-11-05T16:16:07Z</dc:date>
    </item>
  </channel>
</rss>

