activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krunal Shimpi (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (AMQ-1614) PooledConnectionFactory not JNDI refereceable
Date Fri, 19 Jun 2009 22:09:35 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Krunal Shimpi reopened AMQ-1614:
--------------------------------


The fix provided in patch is not 100% complete.

PooledConnectionFactory provides following 3 constructors:
1. PooledConnectionFactory()
2. PooledConnectionFactory(ActiveMQConnectionFactory connectionFactory)       
3.  PooledConnectionFactory(String brokerURL) 

The New class AmqJNDIPooledConnectionFactory fixes JNDI problem but though this class extends
PooledConnectionFactory, it is provided with support for zero argument constructor.

Can you please provide all 3 constructors for AmqJNDIPooledConnectionFactory  class and release
patch again?
 


> PooledConnectionFactory not JNDI refereceable
> ---------------------------------------------
>
>                 Key: AMQ-1614
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1614
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>    Affects Versions: 5.0.0
>         Environment: All
>            Reporter: Linus Larsen
>            Assignee: Rob Davies
>            Priority: Trivial
>             Fix For: 5.2.0
>
>         Attachments: AmqJNDIPooledConnectionFactory.java, AmqJNDIPooledConnectionFactory.java
>
>
> The PooledConnectionFactory does not extend JNDIBaseStorable neither implements JNDIStorableInterface
which makes it impossible to store it in a JNDI tree. It is not a problem when using Spring,
but when using for example Tomcat and context.xml as configuration it simply does not work.
> Attaching a simple fix on how this can be resolved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message