activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Reese (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-3410) AbstractAmqCommand should allow the connection factory to be changed.
Date Wed, 20 Jul 2011 22:41:57 GMT
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
            Priority: Minor


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

        

Mime
View raw message