camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
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.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
          http://jnn.iteye.com (Chinese)
Twitter: willemjiang 
Weibo: 姜宁willem


On November 29, 2013 at 5:31:53 PM, marioradev (mario.radev@softwareag.com) 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: http://camel.465427.n5.nabble.com/Persist-headers-when-using-cache-tp5744069.html
>Sent from the Camel - Users mailing list archive at Nabble.com.
>


Mime
View raw message