camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Persist headers when using cache
Date Mon, 02 Dec 2013 07:29:10 GMT
Can I have a look at your route?
I’m not sure how you did the persistent.

Willem Jiang
Red Hat, Inc.
Blog: (English)
Twitter: willemjiang 
Weibo: 姜宁willem

On November 29, 2013 at 5:31:53 PM, marioradev ( wrote:
>Hi there,
>We are using cache component to persist our messages. Before persisting and
>emitting we add some extra specific headers to the event/message that we use
>when it is received. However only the message body (payload) is persisted.
>We need also headers to be persisted. I have searched for some property that
>could specify that but could not find anything.
>Could this behaviour of cache component be handled/managed in some way? Is
>this behaviour done for some reason this way? Could you suggest us some
>solution about this problem - we could explicitly add headers to the body
>and serialize them but this is an expensive operation which should be done
>on both sides - from the emitter and consumer. Any other proposals?
>Regards, Mario.
>View this message in context:
>Sent from the Camel - Users mailing list archive at

View raw message