camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacobsen, Jasen W." <>
Subject Re: Camel not Sending Headers with Objects to RabbitMQ
Date Thu, 06 Apr 2017 12:28:34 GMT
Is the object serializable?

- Jasen.

On 4/5/17, 1:39 PM, "Caleb Skidmore" <>

>When I set a header as an object and route it to RabbitMQ, the header
>does not arrive.  For instance:
>List<String> testData = new ArrayList<>();
>exchange.getIn().setHeader("ObjectHeader", testData);
>exchange.getIn().setHeader("StringHeader", testData.toString());
>When I check the headers in RabbitMQ, the StringHeader is there but the
>ObjectHeader is missing.  Any thoughts on what is happening to the

View raw message