diff --git a/activemq-pool/src/main/java/org/apache/activemq/pool/AmqJNDIPooledConnectionFactory.java b/activemq-pool/src/main/java/org/apache/activemq/pool/AmqJNDIPooledConnectionFactory.java index e9c7a1584b..f89bbff38b 100644 --- a/activemq-pool/src/main/java/org/apache/activemq/pool/AmqJNDIPooledConnectionFactory.java +++ b/activemq-pool/src/main/java/org/apache/activemq/pool/AmqJNDIPooledConnectionFactory.java @@ -35,6 +35,14 @@ public class AmqJNDIPooledConnectionFactory extends PooledConnectionFactory public AmqJNDIPooledConnectionFactory() { super(); } + + public AmqJNDIPooledConnectionFactory(String brokerURL) { + super(brokerURL); + } + + public AmqJNDIPooledConnectionFactory(ActiveMQConnectionFactory connectionFactory) { + super(connectionFactory); + } /** * set the properties for this instance as retrieved from JNDI