Class JmsPoolConnectionFactoryProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.jms.JmsPoolConnectionFactoryProperties
public class JmsPoolConnectionFactoryProperties extends Object
Configuration properties for connection factory pooling.- Since:
- 2.1.0
Constructor Summary
Constructors Constructor Description JmsPoolConnectionFactoryProperties()
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Duration
getBlockIfFullTimeout()
Duration
getIdleTimeout()
int
getMaxConnections()
int
getMaximumActiveSessionPerConnection()
Deprecated.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)
Deprecated.void
setMaxSessionsPerConnection(int maxSessionsPerConnection)
void
setTimeBetweenExpirationCheck(Duration timeBetweenExpirationCheck)
void
setUseAnonymousProducers(boolean useAnonymousProducers)
Constructor Detail
JmsPoolConnectionFactoryProperties
public JmsPoolConnectionFactoryProperties()
Method Detail
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()
Deprecated.
setMaximumActiveSessionPerConnection
@Deprecated public void setMaximumActiveSessionPerConnection(int maximumActiveSessionPerConnection)
Deprecated.
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)