spring.redisson.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wichell-common Show documentation
Show all versions of wichell-common Show documentation
common project com.wichell.wichell jar
The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns="http://www.springframework.org/schema/beans"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
<bean id="redissonClient" class="com.wichell.core.support.cache.redisson.Client" init-method="init">
<property name="password" value="${redis.password}" />
<!-- SingleServer -->
<property name="address" value="redis://${redis.host}:${redis.port}" />
<!-- ClusterServers -->
<!-- <property name="nodeAddresses" value="${redis.cluster}}" /> -->
<!-- MasterSlaveServers -->
<!-- <property name="masterAddress" value="${redis.master}" />
<property name="slaveAddresses" value="${redis.slave}" /> -->
</bean>
<bean class="com.wichell.core.support.cache.RedissonHelper"
p:redisson-client-ref="redissonClient" />
</beans> © 2015 - 2025 Weber Informatics LLC | Privacy Policy