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: 5.1.0, 4.1.2
Reporter: Trevor Pounds
Priority: Minor
Fix For: 4.1.3, 5.2.0
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.