You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Luca Burgazzoli <lb...@gmail.com> on 2016/04/19 19:47:14 UTC

SpringCache based IdempotentRepository

Hello,

While working on camel-infinispan I had some troubles configuring a
RemoteCacheManager as it relies on a fluent configuration builder
which does not play very well with Spring XML.

Luckily Infinispan has some support for Spring so they have a
SpringRemoteCacheManagerFactoryBean which ease the process but it
still require some glue code/conf to bridge the gap between Spring and
InfinispanIdempotentRepository so I'm wondering is a SpringCache based
IdempotentRepository would make sense, final result would be something
like:

https://github.com/lburgazzoli/lb-camel/blob/master/camel-samples/camel-samples-infinispan/src/test/resources/com/github/lburgazzoli/camel/samples/infinispan/SpringCacheIdempotentRepositoryTest-context.xml


Make sense ?


---
Luca Burgazzoli

Re: SpringCache based IdempotentRepository

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yeah sure, its good to make this easier to setup and use.

On Tue, Apr 19, 2016 at 7:47 PM, Luca Burgazzoli <lb...@gmail.com> wrote:
> Hello,
>
> While working on camel-infinispan I had some troubles configuring a
> RemoteCacheManager as it relies on a fluent configuration builder
> which does not play very well with Spring XML.
>
> Luckily Infinispan has some support for Spring so they have a
> SpringRemoteCacheManagerFactoryBean which ease the process but it
> still require some glue code/conf to bridge the gap between Spring and
> InfinispanIdempotentRepository so I'm wondering is a SpringCache based
> IdempotentRepository would make sense, final result would be something
> like:
>
> https://github.com/lburgazzoli/lb-camel/blob/master/camel-samples/camel-samples-infinispan/src/test/resources/com/github/lburgazzoli/camel/samples/infinispan/SpringCacheIdempotentRepositoryTest-context.xml
>
>
> Make sense ?
>
>
> ---
> Luca Burgazzoli



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2