propagate the closeTimeout attribute to a new connection

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@997719 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-09-16 12:32:54 +00:00
parent f0de24c8e3
commit f9379664f7
1 changed files with 1 additions and 0 deletions

View File

@ -313,6 +313,7 @@ public class ActiveMQConnectionFactory extends JNDIBaseStorable implements Conne
connection.setProducerWindowSize(getProducerWindowSize()); connection.setProducerWindowSize(getProducerWindowSize());
connection.setWarnAboutUnstartedConnectionTimeout(getWarnAboutUnstartedConnectionTimeout()); connection.setWarnAboutUnstartedConnectionTimeout(getWarnAboutUnstartedConnectionTimeout());
connection.setSendTimeout(getSendTimeout()); connection.setSendTimeout(getSendTimeout());
connection.setCloseTimeout(getCloseTimeout());
connection.setSendAcksAsync(isSendAcksAsync()); connection.setSendAcksAsync(isSendAcksAsync());
connection.setAuditDepth(getAuditDepth()); connection.setAuditDepth(getAuditDepth());
connection.setAuditMaximumProducerNumber(getAuditMaximumProducerNumber()); connection.setAuditMaximumProducerNumber(getAuditMaximumProducerNumber());