<?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 context : activiti endpoint lost in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164786#M118511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It look strange, But what I can see in logs is that you are using depricated CamelBehaviour.java&amp;nbsp; and not the standard CamelBehavior.java&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But in your fix, you are extending from the correct one. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is difficult for me to image that you have millions of endpoints, considering that endpoints are created only once when the component is initialiezed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How does it run with the correct behavior without fixes ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2014 12:57:46 GMT</pubDate>
    <dc:creator>smirzai</dc:creator>
    <dc:date>2014-10-21T12:57:46Z</dc:date>
    <item>
      <title>Camel context : activiti endpoint lost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164780#M118505</link>
      <description>Hi&amp;nbsp; We are currently encountering a weird problem on our production environment.Every day, it seems that the camel context is losing the activiti endpoints as we get the following exception :Exception or error caught in resourcejava.lang.RuntimeException: Activiti endpoint not defined for activiti:/</description>
      <pubDate>Wed, 22 Jan 2014 15:03:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164780#M118505</guid>
      <dc:creator>mvincent</dc:creator>
      <dc:date>2014-01-22T15:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Camel context : activiti endpoint lost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164781#M118506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Don't immediatly see what can be causing this. Getting more logs, depends on your container/environment. I'm suspecting it's in the camel-code, so perhaps raise the logging-level of the camel-classes…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 07:57:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164781#M118506</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-27T07:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Camel context : activiti endpoint lost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164782#M118507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Frederik,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry for late reply didn't see your post &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Still facing the problem and even with log level to DEBUG on Activiti &amp;amp; camel, nothing seems to fail…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are deploying the application in a Tomcat v7 with jdk1.7.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I join the logs about Activiti engine and camel (start failing @ 09:59:41).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, following my process engine configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I can see, the engine seems ok as I can start new process instances even after "failure", but it seems that either on call activity to start my subprocess or one first step on this subprocess with call an activiti endpoint (to request a REST service) something fails and activiti endpoints are not defined anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Engine configuration&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; &amp;lt;bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="databaseType"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;util&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;roperty-path path="sitiDataSource.type" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="dataSource" ref="sitiDataSource" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="transactionManager" ref="transactionManager" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="deploymentResources" value="classpath*:diagrams/*.bpmn" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="history" value="none" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="jobExecutor" ref="defaultJobExec" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="idGenerator"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;bean class="org.activiti.engine.impl.persistence.StrongUuidGenerator" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;bean id="defaultJobExec" class="org.activiti.engine.impl.jobexecutor.DefaultJobExecutor"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="corePoolSize" value="20" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="queueSize" value="10" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="maxPoolSize" value="25" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 09:11:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164782#M118507</guid>
      <dc:creator>mvincent</dc:creator>
      <dc:date>2014-02-05T09:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Camel context : activiti endpoint lost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164783#M118508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I may figured out the origin of the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In CamelBehavior, when trying to retrieve my activiti endpoint I get the previous exception. After debugging the activiti sources, it appears that camelcontext endpoint cache is full and thus remove some endpoints !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I need to find how to make my activiti endpoint not evicted from cache or externalized in another camel context maybe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestion for a workaround/correction ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 12:52:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164783#M118508</guid>
      <dc:creator>mvincent</dc:creator>
      <dc:date>2014-02-05T12:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Camel context : activiti endpoint lost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164784#M118509</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;&amp;nbsp; here is the class containing the workaround I have to implement to fix this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 09:51:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164784#M118509</guid>
      <dc:creator>mvincent</dc:creator>
      <dc:date>2014-02-19T09:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Camel context : activiti endpoint lost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164785#M118510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm strange, do you have a lot of endpoint definitions in your Camel context?&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, 21 Feb 2014 13:13:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164785#M118510</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-02-21T13:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Camel context : activiti endpoint lost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164786#M118511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It look strange, But what I can see in logs is that you are using depricated CamelBehaviour.java&amp;nbsp; and not the standard CamelBehavior.java&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But in your fix, you are extending from the correct one. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is difficult for me to image that you have millions of endpoints, considering that endpoints are created only once when the component is initialiezed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How does it run with the correct behavior without fixes ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 12:57:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164786#M118511</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2014-10-21T12:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Camel context : activiti endpoint lost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164787#M118512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having the same issue. It looks like that Camel keeps the dynamic REST urls and the endpoints definition keep growing in runtime.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, I have an endpoint like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/rs/my-endpoint/{id}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I try to get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/rs/my-endpoint/1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/rs/my-endpoint/2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is being saved two different endpoint definitions dynamically. Kind of weird. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, My question is: how can I define a global CamelBehavior to resolve this problem without the need to set the CamelBehavior in every task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the CamelBehavior class, there's the javadoc that says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;strong&amp;gt;* The chosen implementation should be set within your ProcessEngineConfiguration. To specify the implementation using Spring, include&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* the following line in your configuration file as part of the properties for "org.activiti.spring.SpringProcessEngineConfiguration":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*&amp;nbsp;&amp;nbsp; &amp;lt;property name="camelBehaviorClass" value="org.activiti.camel.impl.CamelBehaviorCamelBodyImpl"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/strong&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but, I can't find anywhere to define this in the SpringProcessEngineConfiguration class. Does anyone can help?&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>Mon, 12 Jan 2015 15:37:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/camel-context-activiti-endpoint-lost/m-p/164787#M118512</guid>
      <dc:creator>gabrielfrancisc</dc:creator>
      <dc:date>2015-01-12T15:37:20Z</dc:date>
    </item>
  </channel>
</rss>

