Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 131A17D7E for ; Wed, 20 Jul 2011 23:44:24 +0000 (UTC) Received: (qmail 27328 invoked by uid 500); 20 Jul 2011 23:44:23 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 27147 invoked by uid 500); 20 Jul 2011 23:44:22 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 27125 invoked by uid 99); 20 Jul 2011 23:44:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2011 23:44:22 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2011 23:44:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EF52F4B030 for ; Wed, 20 Jul 2011 23:43:57 +0000 (UTC) Date: Wed, 20 Jul 2011 23:43:57 +0000 (UTC) From: "Allen Reese (JIRA)" To: dev@activemq.apache.org Message-ID: <1407832908.9885.1311205437977.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1112677164.9666.1311201717878.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AMQ-3410) AbstractAmqCommand should allow the connection factory to be changed. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Reese updated AMQ-3410: ----------------------------- Attachment: AMQ-3410.patch This patch adds a --factory command line arg. It depends on the fixes to activemq-console/src/test/resources/activemq.xml contained in the patch in AMQ-3404 to work > 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 > 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