<?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 Getting NotSerializableException from DefaultMessageHistory in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-notserializableexception-from-defaultmessagehistory/m-p/186820#M139950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new to Apache Camel and have been trying to integrate it with Activiti BPMN engine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a very simple BPMN process that has a serviceTask of type 'camel' and two routes defined in a SpringRouteBuilder like so: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public class CamelHelloRoute extends SpringRouteBuilder { &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void configure() throws Exception { &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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from("activiti:camelTestProcess:camelTaskId").log(LoggingLevel.INFO, "Received message in CAMEL " + property("var1")).setProperty("greeting").constant("ceva").setBody().properties(); &lt;/SPAN&gt;&lt;BR /&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from("direct:start").to("activiti:camelTestProcess"); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wrote a unit test to see if my property ("var1") has the value I set in the test and also to check if another property ("greeting") is being set. When I run the test I get a NotSerializableException, stack trace in the attached file, and I don't know why this is happening. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I don't try to set the "greeting" property then everything is ok. I tried to disable message history on the context but I still got the same problem. And the logging isn't even working in either scenario. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something? I'm using Spring with Camel configured via Java by extending the CamelConfiguration class. Is there any extra configuration that needs to be done? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bogdan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2014 12:06:06 GMT</pubDate>
    <dc:creator>bogdan_aioanei</dc:creator>
    <dc:date>2014-08-11T12:06:06Z</dc:date>
    <item>
      <title>Getting NotSerializableException from DefaultMessageHistory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-notserializableexception-from-defaultmessagehistory/m-p/186820#M139950</link>
      <description>Hello everyone, I'm new to Apache Camel and have been trying to integrate it with Activiti BPMN engine. I have a very simple BPMN process that has a serviceTask of type 'camel' and two routes defined in a SpringRouteBuilder like so: public class CamelHelloRoute extends SpringRouteBuilder { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @</description>
      <pubDate>Mon, 11 Aug 2014 12:06:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-notserializableexception-from-defaultmessagehistory/m-p/186820#M139950</guid>
      <dc:creator>bogdan_aioanei</dc:creator>
      <dc:date>2014-08-11T12:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Getting NotSerializableException from DefaultMessageHistory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-notserializableexception-from-defaultmessagehistory/m-p/186821#M139951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The only thing I see that is different in your code-base is the &amp;lt;Code&amp;gt;@Component&amp;lt;/code&amp;gt; declaration before the class declaration of&amp;nbsp; &amp;lt;block&amp;gt;CamelHelloRoute &amp;lt;/block&amp;gt; . Cheers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 14:33:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-notserializableexception-from-defaultmessagehistory/m-p/186821#M139951</guid>
      <dc:creator>sathish1</dc:creator>
      <dc:date>2014-08-11T14:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting NotSerializableException from DefaultMessageHistory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-notserializableexception-from-defaultmessagehistory/m-p/186822#M139952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi sathish,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The @Component declaration is needed because I'm using the CamelConfiguration class to setup Camel in my project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The JavaDoc for the class mentions the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Unless {@link #routes()} method is overridden, this configuration automagically load all the {@link org.apache.camel.builder.RouteBuilder} instances available in the Spring context."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anything else you might have noticed?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 14:52:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-notserializableexception-from-defaultmessagehistory/m-p/186822#M139952</guid>
      <dc:creator>bogdan_aioanei</dc:creator>
      <dc:date>2014-08-11T14:52:36Z</dc:date>
    </item>
  </channel>
</rss>

