camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Burgazzoli <lburgazz...@gmail.com>
Subject SpringCache based IdempotentRepository
Date Tue, 19 Apr 2016 17:47:14 GMT
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

Mime
View raw message