You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Stan Lewis (JIRA)" <ji...@apache.org> on 2009/08/24 21:43:50 UTC

[jira] Created: (CAMEL-1931) XmppBinding will add non-serializeable header values to the outgoing xmpp message

XmppBinding will add non-serializeable header values to the outgoing xmpp message
---------------------------------------------------------------------------------

                 Key: CAMEL-1931
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1931
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-xmpp
    Affects Versions: 2.0.0
            Reporter: Stan Lewis
            Priority: Minor
             Fix For: 2.1.0


I started using velocity in my project which seems to add some headers to the message exchange, the values of which are apparently not serialize-able.  As a result when a message in my route gets to the camel-xmpp component it fails in XmppBinding with an IllegalArgumentException as the binding tries to add the bad header.  This patch that by not inserting any headers into the xmpp message that don't have serialize-able values.

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


[jira] Assigned: (CAMEL-1931) XmppBinding will add non-serializeable header values to the outgoing xmpp message

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-1931:
-----------------------------------

    Assignee: Willem Jiang

> XmppBinding will add non-serializeable header values to the outgoing xmpp message
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-1931
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1931
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-xmpp
>    Affects Versions: 2.0.0
>            Reporter: Stan Lewis
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.1.0
>
>         Attachments: header_patch.txt
>
>
> I started using velocity in my project which seems to add some headers to the message exchange, the values of which are apparently not serialize-able.  As a result when a message in my route gets to the camel-xmpp component it fails in XmppBinding with an IllegalArgumentException as the binding tries to add the bad header.  This patch that by not inserting any headers into the xmpp message that don't have serialize-able values.

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


[jira] Updated: (CAMEL-1931) XmppBinding will add non-serializeable header values to the outgoing xmpp message

Posted by "Stan Lewis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stan Lewis updated CAMEL-1931:
------------------------------

    Attachment: header_patch.txt

> XmppBinding will add non-serializeable header values to the outgoing xmpp message
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-1931
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1931
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-xmpp
>    Affects Versions: 2.0.0
>            Reporter: Stan Lewis
>            Priority: Minor
>             Fix For: 2.1.0
>
>         Attachments: header_patch.txt
>
>
> I started using velocity in my project which seems to add some headers to the message exchange, the values of which are apparently not serialize-able.  As a result when a message in my route gets to the camel-xmpp component it fails in XmppBinding with an IllegalArgumentException as the binding tries to add the bad header.  This patch that by not inserting any headers into the xmpp message that don't have serialize-able values.

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


[jira] Resolved: (CAMEL-1931) XmppBinding will add non-serializeable header values to the outgoing xmpp message

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-1931.
---------------------------------

    Resolution: Fixed

Applied patch with thanks to Stan.
http://svn.apache.org/viewvc?rev=807440&view=rev

> XmppBinding will add non-serializeable header values to the outgoing xmpp message
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-1931
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1931
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-xmpp
>    Affects Versions: 2.0.0
>            Reporter: Stan Lewis
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.1.0
>
>         Attachments: header_patch.txt
>
>
> I started using velocity in my project which seems to add some headers to the message exchange, the values of which are apparently not serialize-able.  As a result when a message in my route gets to the camel-xmpp component it fails in XmppBinding with an IllegalArgumentException as the binding tries to add the bad header.  This patch that by not inserting any headers into the xmpp message that don't have serialize-able values.

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