Question

I've a webapp (Jetty, Spring and Camel). Now I want to connect to a Redis (using Jedis) in my a Camel route. My question where (and when) should I create the Jedis pool and how can I get access to this pool in my Camel routes ? I was thinking about creating the pool in my Camel context XML. But I'm not sure how can I get access to this pool in my route (Java DSL).

Était-ce utile?

La solution

you can now (as of 2.11) use camel-redis to send and receive messages from Redis

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top