activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Markevich (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-6350) PooledConnectionFactory throws 'IllegalStateException: Pool not open' after re-init
Date Mon, 11 Jul 2016 14:10:10 GMT

     [ 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)

Mime
View raw message