类 JmsPoolConnectionFactoryProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.jms.JmsPoolConnectionFactoryProperties
public class JmsPoolConnectionFactoryProperties extends Object
Configuration properties for connection factory pooling.- 从以下版本开始:
- 2.1.0
构造器概要
构造器 构造器 说明 JmsPoolConnectionFactoryProperties()
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 Duration
getBlockIfFullTimeout()
Duration
getIdleTimeout()
int
getMaxConnections()
int
getMaximumActiveSessionPerConnection()
已过时。int
getMaxSessionsPerConnection()
Duration
getTimeBetweenExpirationCheck()
boolean
isBlockIfFull()
boolean
isEnabled()
boolean
isUseAnonymousProducers()
void
setBlockIfFull(boolean blockIfFull)
void
setBlockIfFullTimeout(Duration blockIfFullTimeout)
void
setEnabled(boolean enabled)
void
setIdleTimeout(Duration idleTimeout)
void
setMaxConnections(int maxConnections)
void
setMaximumActiveSessionPerConnection(int maximumActiveSessionPerConnection)
已过时。void
setMaxSessionsPerConnection(int maxSessionsPerConnection)
void
setTimeBetweenExpirationCheck(Duration timeBetweenExpirationCheck)
void
setUseAnonymousProducers(boolean useAnonymousProducers)
构造器详细资料
JmsPoolConnectionFactoryProperties
public JmsPoolConnectionFactoryProperties()
方法详细资料
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
isBlockIfFull
public boolean isBlockIfFull()
setBlockIfFull
public void setBlockIfFull(boolean blockIfFull)
getBlockIfFullTimeout
public Duration getBlockIfFullTimeout()
setBlockIfFullTimeout
public void setBlockIfFullTimeout(Duration blockIfFullTimeout)
getIdleTimeout
public Duration getIdleTimeout()
setIdleTimeout
public void setIdleTimeout(Duration idleTimeout)
getMaxConnections
public int getMaxConnections()
setMaxConnections
public void setMaxConnections(int maxConnections)
getMaximumActiveSessionPerConnection
@Deprecated public int getMaximumActiveSessionPerConnection()
已过时。
setMaximumActiveSessionPerConnection
@Deprecated public void setMaximumActiveSessionPerConnection(int maximumActiveSessionPerConnection)
已过时。
getMaxSessionsPerConnection
public int getMaxSessionsPerConnection()
setMaxSessionsPerConnection
public void setMaxSessionsPerConnection(int maxSessionsPerConnection)
getTimeBetweenExpirationCheck
public Duration getTimeBetweenExpirationCheck()
setTimeBetweenExpirationCheck
public void setTimeBetweenExpirationCheck(Duration timeBetweenExpirationCheck)
isUseAnonymousProducers
public boolean isUseAnonymousProducers()
setUseAnonymousProducers
public void setUseAnonymousProducers(boolean useAnonymousProducers)