You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Alexey Markevich (JIRA)" <ji...@apache.org> on 2016/07/11 14:10:10 UTC
[jira] [Updated] (AMQ-6350) PooledConnectionFactory throws
'IllegalStateException: Pool not open' after re-init
[ https://issues.apache.org/jira/browse/AMQ-6350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Markevich updated AMQ-6350:
----------------------------------
Attachment: PooledConnectionFactory.patch
> PooledConnectionFactory throws 'IllegalStateException: Pool not open' after re-init
> -----------------------------------------------------------------------------------
>
> Key: AMQ-6350
> URL: https://issues.apache.org/jira/browse/AMQ-6350
> Project: ActiveMQ
> Issue Type: Bug
> Components: activemq-pool
> Affects Versions: 5.13.3
> Reporter: Alexey Markevich
> Attachments: PooledConnectionFactory.patch
>
>
> Blueprint:
> {code}
> <cm:property-placeholder persistent-id=".." update-strategy="reload" />
> <bean id="pooledConnectionFactory" class="org.apache.activemq.jms.pool.PooledConnectionFactory"
> init-method="start" destroy-method="stop">
> ...
> </bean>
> {code}
> or Java:
> {code}
> org.apache.activemq.jms.pool.PooledConnectionFactory pcf = new org.apache.activemq.jms.pool.PooledConnectionFactory();
> pcf.start();
> ...
> pcf.stop();
> pcf.start();
> // producer.send(textMsg);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)