You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/12/10 15:37:03 UTC

[jira] Commented: (SMX4NMR-239) NMR adds null header in Camel Exchange ?

    [ https://issues.apache.org/jira/browse/SMX4NMR-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970182#action_12970182 ] 

Claus Ibsen commented on SMX4NMR-239:
-------------------------------------

The WARN logging has been fixed in camel-core. However the header should most likely not be set if the value is null in the servicemix-nmr component.

> NMR adds null header in Camel Exchange ?
> ----------------------------------------
>
>                 Key: SMX4NMR-239
>                 URL: https://issues.apache.org/jira/browse/SMX4NMR-239
>             Project: ServiceMix NMR
>          Issue Type: Bug
>         Environment: camel nmr servicemix
>            Reporter: Olivier Roger
>            Priority: Minor
>
> I get this error in the log when I try to serialize my Camel Exchanges with the DefaultExchangeHandler:
> {quote}
> DefaultExchangeHolder            | camel.impl.DefaultExchangeHolder  210 | 69 - org.apache.camel.camel-core - 2.4.0.fuse-00-00 | in headers containing object: null with key: CamelAuthentication cannot be serialized, it will be excluded by the holder.
> {quote}
> The CamelAuthentication header appears when message is passing through the NMR
> If null, CamelAuthentication should not be set in the headers. Also this should be logged as WARN.
> Here is the route:
> {code}
>         <route>
>             <from uri="Order" />
>             <transacted />
>         <to uri="nmr:bsb:documentorder" />
>         </route>
>         <route>
>             <from uri="nmr:bsb:documentorder" />
>             <to uri="..." />
>         </route> 
> {code}
> See more details on [http://camel.465427.n5.nabble.com/Serialization-CamelAuthentication-is-null-td3290948.html]

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