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] Commented: (AMQ-1804) ConnectionFactory classes shuld have XBean support
Date Fri, 20 Jun 2008 00:37:00 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43609#action_43609
] 

Trevor Pounds commented on AMQ-1804:
------------------------------------

Rob, I noticed that the org.apache.activemq.ActiveMQConnectionFactory class already has an
XBean configuration (with the same element name) in the class org.apache.activemq.spring.ActiveMQConnectionFactory,
albeit with a bit more configuration that supports Spring directly.   This may produce undesired
results in the future in some configurations (i.e. classloading similar to something that
happened in AMQ-1345).

> ConnectionFactory classes shuld 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