Last active
August 29, 2015 13:57
-
-
Save yakolla/9541029 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:mvc="http://www.springframework.org/schema/mvc" | |
xmlns:p="http://www.springframework.org/schema/p" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans.xsd | |
http://www.springframework.org/schema/mvc | |
http://www.springframework.org/schema/mvc/spring-mvc.xsd" | |
> | |
<!-- Root Context: defines shared resources visible to all other web components --> | |
<mvc:annotation-driven conversion-service="conversionService" /> | |
... | |
<bean id="jedisConnectionFactory" class="org.springframework.data.redis.connection.jedis.JedisConnectionFactory" | |
p:use-pool="true" | |
p:hostName="172.20.44.209" | |
p:port="6379" | |
/> | |
<!-- redis template definition --> | |
<bean id="redisTemplate" class="org.springframework.data.redis.core.RedisTemplate" | |
p:connection-factory-ref="jedisConnectionFactory"/> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment