You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2009/04/20 16:40:32 UTC

[jira] Resolved: (SMXCOMP-18) Camel component crashes when using JMS flow

     [ https://issues.apache.org/activemq/browse/SMXCOMP-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen resolved SMXCOMP-18.
------------------------------------

       Resolution: Fixed
    Fix Version/s: servicemix-camel-2009.02
                   3.2.4
         Assignee: Gert Vanthienen

Fixed for trunk in http://svn.apache.org/viewvc?view=rev&revision=766688
and backported to 3.2.x branch in http://svn.apache.org/viewvc?view=rev&revision=766711

Thanks to Stan for providing the patch -- slightly modified it to use the MessageExchange id instead of a new uuid!

> Camel component crashes when using JMS flow
> -------------------------------------------
>
>                 Key: SMXCOMP-18
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-18
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: servicemix-camel-2008.01
>            Reporter: Jérôme Pochat
>            Assignee: Gert Vanthienen
>             Fix For: 3.2.4, servicemix-camel-2009.02
>
>         Attachments: patch.txt
>
>
> Camel adds JBI properties that are not serializable. When using it with JMS flow, the following exception occurs:
> Caused by: java.io.NotSerializableException: org.apache.camel.management.InstrumentationProcessor$1
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
>         at java.util.HashMap.writeObject(HashMap.java:1039)
>         at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
>         at org.apache.servicemix.jbi.messaging.ExchangePacket.writeExternal(ExchangePacket.java:404)
>         at org.apache.servicemix.jbi.messaging.MessageExchangeImpl.writeExternal(MessageExchangeImpl.java:605)
>         at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
>         at org.apache.activemq.command.ActiveMQObjectMessage.storeContent(ActiveMQObjectMessage.java:98)
>         ... 37 more 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.