Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 12700 invoked from network); 19 Jun 2006 14:33:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jun 2006 14:33:01 -0000 Received: (qmail 86271 invoked by uid 500); 19 Jun 2006 14:32:53 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 86101 invoked by uid 500); 19 Jun 2006 14:32:53 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 86029 invoked by uid 99); 19 Jun 2006 14:32:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jun 2006 07:32:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jun 2006 07:32:51 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 94D59410007 for ; Mon, 19 Jun 2006 14:31:30 +0000 (GMT) Message-ID: <33047357.1150727490607.JavaMail.jira@brutus> Date: Mon, 19 Jun 2006 14:31:30 +0000 (GMT+00:00) From: "Hiram Chirino (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-2135) Improve the ActiveMQ GBeans In-Reply-To: <17603984.1150684349869.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-2135?page=all ] Hiram Chirino updated GERONIMO-2135: ------------------------------------ Attachment: GERONIMO-2135.patch Fixes most of the items in this issue. > Improve the ActiveMQ GBeans > --------------------------- > > Key: GERONIMO-2135 > URL: http://issues.apache.org/jira/browse/GERONIMO-2135 > Project: Geronimo > Type: Improvement > Security: public(Regular issues) > Components: ActiveMQ > Reporter: Hiram Chirino > Assignee: Hiram Chirino > Fix For: 1.2 > Attachments: GERONIMO-2135.patch > > Suggestions by David Jencks: > I think that this gbean adaptation code should be in geronimo rather > than amq. I'm OK with applying it as is but would prefer some issues > to be addressed first or, even better, immediately after the > transfer (assuming it is done with svn mv). > 1. DataSourceReference should be replaced by the geronimo class that > does the same thing, ConnectionFactorySource. > 2. I think it would be preferable to get the module/configuration > classloader in the constructor as a magic attribute and use it in > BrokerServiceGBeanImpl.doStart rather than the classloader of > BrokerServiceGBeanImpl. > 3. Same for TransportConnectorGBeanImpl. > 4. This is a question, not really an issue, about this code: > + protected TransportConnector createBrokerConnector(String url) > throws Exception { > + return brokerService.getBrokerContainer().addConnector(url); > + } > To me it seems like this code is combining the functions of factory > object and container. Is this necessary and appropriate? I'd be > more comfortable with > Connector connector = ConnectorFactory.createConnector(url); > brokerService.getBrokerContainer().addConnector(connector); > I find that the combination style typically creates problems whenever > trying to extend stuff, say by wrapping the connector. What do you > think? > 5. hardcoding the protocols in ActiveMQManagerGBean seems like a > temporary expedient at best. > 6. javadoc on public JMSConnector addConnector( ... in the manager > gbean seems wrong... does not appear to return an object name. > 7. Typo and innaccuracies in the first package.html... this stuff is > only going to work in geronimo, jsr77/88 is not enough. > 8. I'm not sure exactly what our official policy is but I prefer to > remove "public" from methods in interfaces since it is the only > choice and implied. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira