activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor Pounds (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (AMQ-1804) ConnectionFactory classes should have XBean support
Date Fri, 03 Oct 2008 16:55:52 GMT

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

Trevor Pounds reopened AMQ-1804:
--------------------------------


Reopening ticket due to xbean name mapping conflict that may cause problems for some users.
 I propose either removing the xbean mapping from the org.apache.activemq.ActiveMQConectionFactory
class or removing the org.apache.activemq.spring.ActiveMQConnectionFactory class.  Do we need
both of these classes?

> ConnectionFactory classes should have XBean support
> ---------------------------------------------------
>
>                 Key: AMQ-1804
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1804
>             Project: ActiveMQ
>          Issue Type: Improvement
>    Affects Versions: 4.1.2, 5.1.0
>            Reporter: Trevor Pounds
>            Assignee: Rob Davies
>            Priority: Minor
>             Fix For: 5.2.0
>
>         Attachments: r669289.diff
>
>
> It would be nice to have certain objects deriving from javax.jms.ConnectionFactory to
provide XBean binding support.  This would really clean up xbean configurations utilizing
ActiveMQ connection factories.
> {code:xml|title=current}
> <bean id="pooledFactory" class="org.apache.activemq.pool.PooledConnectionFactory"
destroy-method="stop">
>    <property name="connectionFactory">
>       <bean class="org.apache.activemq.ActiveMQConnectionFactory">
>          <property name="brokerURL">
>             <value>tcp://localhost:61616</value>
>          </property>
>       </bean>
>    </property>
> </bean>
> {code}
> vs
> {code:xml|title=improved}
> <pooledConnectionFactory id="pooledFactory" destroy-method="stop" connectionFactory="#connectionFactory"/>
> <connectionFactory id="connectionFactory" brokerURL="tcp://localhost:61616"/>
> {code}

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