<?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 Activiti Integration with Apache Camel - Variable Pollution. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-integration-with-apache-camel-variable-pollution/m-p/181795#M134925</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;I am finding increasing problems with Camel's internal properties being (implicitly) brought into Activiti as process variables. I make extensive use of the copyVariablesFromProperties=true parameter on the Activiti Consumer URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, this parameter results in a number of process variables beginning with "Camel", such as CamelToEndpoint, CamelHttpResponseCode, CamelFilterMatched, CamelExternalRedelivered, CamelCreatedTimestamp and CamelCharsetName. This is annoying, but fairly benign. Starting with Camel 2.12.0, there is a new variable - "CamelMessageHistory" being added to the process variables, and this variable is of type org.apache.camel.impl.DefaultMessageHistory, which is not serializable, and so throws an exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A second observation is that ActivitiProducer creates one or two properties in the Camel route called PROCESS_ID_PROPERTY and PROCESS_KEY_PROPERTY. After the Camel route completes, these properties should not be implicitly saved as process variables if the "copyVariablesFromProperties" parameter is set. In my opinion, this exposes too much implementation. If the value of these properties are desired, the Camel route should copy the value to a domain-specific name, not rely on the internal implementation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am an enthusiastic user of the Activiti-Camel integration (thanks so much, guys!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My questions are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Should these be considered to be defects in the activiti-camel library?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Do I need to extend the Activiti consumer/producer/endpoint classes to prevent these properties being saved as process variables?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate any thoughts on the matter (solutions or sympathy, even)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nick.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jun 2014 20:29:17 GMT</pubDate>
    <dc:creator>njames</dc:creator>
    <dc:date>2014-06-03T20:29:17Z</dc:date>
    <item>
      <title>Activiti Integration with Apache Camel - Variable Pollution.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-integration-with-apache-camel-variable-pollution/m-p/181795#M134925</link>
      <description>Hi,I am finding increasing problems with Camel's internal properties being (implicitly) brought into Activiti as process variables. I make extensive use of the copyVariablesFromProperties=true parameter on the Activiti Consumer URL.Unfortunately, this parameter results in a number of process variabl</description>
      <pubDate>Tue, 03 Jun 2014 20:29:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-integration-with-apache-camel-variable-pollution/m-p/181795#M134925</guid>
      <dc:creator>njames</dc:creator>
      <dc:date>2014-06-03T20:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Integration with Apache Camel - Variable Pollution.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-integration-with-apache-camel-variable-pollution/m-p/181796#M134926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Nick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. It's something in the middle probably. If you use the copyVariablesFromProperties configuration then all Camel properties will be made into variables. Is one of the other configurations not what you are looking for? Do you need one of these properties to be copied as variable? The CamelMessageHistory issue will be solved today on the Github master version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. We could define a pluggable way to define properties you want to ignore. Although it makes sense to ignore the Camel properties by default.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 14:54:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-integration-with-apache-camel-variable-pollution/m-p/181796#M134926</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-06-04T14:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Integration with Apache Camel - Variable Pollution.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-integration-with-apache-camel-variable-pollution/m-p/181797#M134927</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;For this specific problem, I have already created a jira issue and will soon implement it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-2135" rel="nofollow noopener noreferrer"&gt;https://jira.codehaus.org/browse/ACT-2135&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 12:25:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-integration-with-apache-camel-variable-pollution/m-p/181797#M134927</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2014-10-21T12:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Integration with Apache Camel - Variable Pollution.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-integration-with-apache-camel-variable-pollution/m-p/181798#M134928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've fixed this by adding interceptor to camel context:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;camelContext id="camelContext" xmlns="&lt;/SPAN&gt;&lt;A href="http://camel.apache.org/schema/spring" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/schema/spring&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;intercept&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;removeProperty propertyName="CamelMessageHistory" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/intercept&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/camelContext&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 22:50:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-integration-with-apache-camel-variable-pollution/m-p/181798#M134928</guid>
      <dc:creator>shibaevv</dc:creator>
      <dc:date>2015-11-23T22:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Integration with Apache Camel - Variable Pollution.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-integration-with-apache-camel-variable-pollution/m-p/181799#M134929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've fixed this by adding interceptor to camel context:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;camelContext id="camelContext" xmlns="&lt;/SPAN&gt;&lt;A href="http://camel.apache.org/schema/spring" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/schema/spring&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;intercept&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;removeProperty propertyName="CamelMessageHistory" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/intercept&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/camelContext&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 22:52:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-integration-with-apache-camel-variable-pollution/m-p/181799#M134929</guid>
      <dc:creator>shibaevv</dc:creator>
      <dc:date>2015-11-23T22:52:39Z</dc:date>
    </item>
  </channel>
</rss>

