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: Use camel-cache constants in Blueprint DSL
Date Mon, 06 Aug 2012 00:56:57 GMT
You can use the setHeader DSL like this
<route> <from uri="direct:a"/> <setHeader headerName="CamelCacheOperation">
<constant>the value</constant> </setHeader> <to uri="cache:xxx"/>
</route>


-- 
Willem Jiang



On Sunday, August 5, 2012 at 7:01 PM, helander wrote:

> How do I use camel-cache constants, e.g. CacheConstants.CACHE_OPERATION, in
> Blueprint DSL?
> 
> Short example would be nice.
> 
> Thanks
> 
> Lars
> 
> 
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/Use-camel-cache-constants-in-Blueprint-DSL-tp5716843.html
> Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).
> 
> 



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message