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 A60CE7B3C for ; Wed, 20 Jul 2011 23:42:20 +0000 (UTC) Received: (qmail 23905 invoked by uid 500); 20 Jul 2011 23:42:20 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 23612 invoked by uid 500); 20 Jul 2011 23:42:19 -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 23598 invoked by uid 99); 20 Jul 2011 23:42:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2011 23:42:19 +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:42:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E10654BE7B for ; Wed, 20 Jul 2011 23:41:57 +0000 (UTC) Date: Wed, 20 Jul 2011 23:41:57 +0000 (UTC) From: "Allen Reese (JIRA)" To: dev@activemq.apache.org Message-ID: <1306221765.9882.1311205317918.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 [ https://issues.apache.org/jira/browse/AMQ-3410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Reese updated AMQ-3410: ----------------------------- Patch Info: [Patch Available] > 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