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

Allen Reese closed AMQ-3410.
----------------------------


This works for me, and is complete.

> AbstractAmqCommand should allow the connection factory to be changed.
> ---------------------------------------------------------------------
>
>                 Key: AMQ-3410
>                 URL: https://issues.apache.org/jira/browse/AMQ-3410
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.0
>            Reporter: Allen Reese
>            Assignee: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.6.0
>
>         Attachments: AMQ-3410.patch, AMQ-3410_add_tests.patch
>
>
> AbstractAmqCommand only allows an ActiveMQConnectionFactory to be used.  I've 
> got a custom factory that I would like to be able to use from the command 
> line interface.
> I'd like to see:
> get/setFactory implemented on AbstractAmqCommand, as well as some sort of 
> method to override the connection factory being used.  I'm thinking along the 
> lines of:
> --factory com.yahoo.activemq.YahooActiveMQConnectionFactory
> Then if the --factory option is set, then this class will be implemented and 
> used, otherwise ActiveMQConnectionFactory.
> I'll attach a patch shortly for this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to