Skip to content

Instantly share code, notes, and snippets.

@ddossot
Created October 4, 2011 00:21
Show Gist options
  • Save ddossot/1260611 to your computer and use it in GitHub Desktop.
Save ddossot/1260611 to your computer and use it in GitHub Desktop.
Mule Redis Cnx Full
<spring:beans>
<spring:bean name="redisPoolConfiguration"
class="redis.clients.jedis.JedisPoolConfig"
p:whenExhaustedAction="#{T(org.apache.commons.pool.impl.GenericObjectPool).WHEN_EXHAUSTED_GROW}" />
</spring:beans>
<redis:config name="localRedis"
host="localhost"
port="6379"
password="s3cre3t"
connectionTimeout="15000"
poolConfig-ref="redisPoolConfiguration" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment