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.

Reply via email to