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