You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2011/07/21 12:22:57 UTC

[jira] [Resolved] (AMQ-3410) AbstractAmqCommand should allow the connection factory to be changed.

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

Dejan Bosanac resolved AMQ-3410.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.6.0
         Assignee: Dejan Bosanac

Patch applied with svn revision 1149097. Thanks!

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