Hi You would likely need to get the existing value from cache and then append the data to it, and then update the value to the cache.
On Mon, Aug 26, 2013 at 8:34 PM, Tyler Durvik <phangb...@gmail.com> wrote: > Yes, you can update a value in a cache but I am having problems trying to > append to a value in the cache. > > > > On Mon, Aug 26, 2013 at 1:56 PM, Christian Posta > <christian.po...@gmail.com>wrote: > >> You should be able to "update" it. Take a look at the wiki here for the >> correct headers to use: >> http://camel.apache.org/cache.html >> >> And for a better example, take a look at this unit test: >> >> https://github.com/apache/camel/blob/master/components/camel-cache/src/test/java/org/apache/camel/component/cache/CacheProducerTest.java#L268 >> >> >> >> On Mon, Aug 26, 2013 at 10:31 AM, Tyler Durvik <phangb...@gmail.com> >> wrote: >> >> > I have a String value stored in a cache (camel cache endpoint) that I may >> > want to append to. Is there an easy way of doing this? I cannot figure >> > out the best way to do this. >> > >> >> >> >> -- >> *Christian Posta* >> http://www.christianposta.com/blog >> twitter: @christianposta >> -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen