public static class ActiveMQProperties.Pool extends Object
Constructor and Description |
---|
Pool() |
public boolean isEnabled()
public void setEnabled(boolean enabled)
public boolean isBlockIfFull()
public void setBlockIfFull(boolean blockIfFull)
public Duration getBlockIfFullTimeout()
public void setBlockIfFullTimeout(Duration blockIfFullTimeout)
@DeprecatedConfigurationProperty public boolean isCreateConnectionOnStartup()
public void setCreateConnectionOnStartup(boolean createConnectionOnStartup)
@DeprecatedConfigurationProperty(reason="Use idle-timeout instead") public Duration getExpiryTimeout()
public void setExpiryTimeout(Duration expiryTimeout)
public Duration getIdleTimeout()
public void setIdleTimeout(Duration idleTimeout)
public int getMaxConnections()
public void setMaxConnections(int maxConnections)
public int getMaximumActiveSessionPerConnection()
public void setMaximumActiveSessionPerConnection(int maximumActiveSessionPerConnection)
@DeprecatedConfigurationProperty(reason="Disabling this option will likely lead to broken connections in the pool.") public boolean isReconnectOnException()
public void setReconnectOnException(boolean reconnectOnException)
public Duration getTimeBetweenExpirationCheck()
public void setTimeBetweenExpirationCheck(Duration timeBetweenExpirationCheck)
public boolean isUseAnonymousProducers()
public void setUseAnonymousProducers(boolean useAnonymousProducers)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.