Skip to content

Instantly share code, notes, and snippets.

@bibryam
Created July 27, 2013 09:06
Show Gist options
  • Select an option

  • Save bibryam/6094317 to your computer and use it in GitHub Desktop.

Select an option

Save bibryam/6094317 to your computer and use it in GitHub Desktop.
Camel Infinispan Producer
<route>
<from uri="direct:orderCache"/>
<setHeader headerName="CamelInfinispanKey">
<simple>${in.header.orderId}</simple>
</setHeader>
<setHeader headerName="CamelInfinispanValue">
<simple>${in.header.orderTotal}</simple>
</setHeader>
<setHeader headerName="CamelInfinispanOperation">
<simple>CamelInfinispanOperationPut</simple>
</setHeader>
<to uri="infinispan://localhost?caseName=orders"/>
</route>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment