Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.17.2
-
Novice
Description
When transferExchange = true, NettyPayloadHelper.getIn(NettyEndpoint, Exchange) calls DefaultExchangeHolder.marshal(exchange) that calls DefaultExchangeHolder.marshal(exchange, true, false);
Third parameter "allowSerializedHeaders" is forced to false and there seems to be no way to call the marshal method with this parameter set to true.
Because of that, the marshalling of the exchange properties doesn't include the serializable pojos as the "DefaultExchangeHolder.getValidHeaderValue" method excludes those serailizable object when allowSerializedHeaders=false :
if (allowSerializedHeaders) {
if (headerValue instanceof Serializable)
}
Hoping to be clear enough.
Attachments
Issue Links
- links to