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 1FD419CDA for ; Fri, 23 Sep 2011 14:08:50 +0000 (UTC) Received: (qmail 95877 invoked by uid 500); 23 Sep 2011 14:08:49 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 95836 invoked by uid 500); 23 Sep 2011 14:08:49 -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 95828 invoked by uid 99); 23 Sep 2011 14:08:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 14:08:49 +0000 X-ASF-Spam-Status: No, hits=-2000.5 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; Fri, 23 Sep 2011 14:08:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2AEF3ABE54 for ; Fri, 23 Sep 2011 14:08:26 +0000 (UTC) Date: Fri, 23 Sep 2011 14:08:26 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: <470084665.6661.1316786906172.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1415987980.30475.1316086088855.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3500) Setting destination options should validate against typos 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-3500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113455#comment-13113455 ] Timothy Bish commented on AMQ-3500: ----------------------------------- Looks good. The patch doesn't apply cleanly though with the test case renamed. > Setting destination options should validate against typos > --------------------------------------------------------- > > Key: AMQ-3500 > URL: https://issues.apache.org/jira/browse/AMQ-3500 > Project: ActiveMQ > Issue Type: Improvement > Affects Versions: 5.5.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Priority: Minor > Fix For: 5.6.0 > > Attachments: AMQ-3500.patch > > > I think the logic does not validate that all the destination option was succesfully configured. > http://activemq.apache.org/destination-options.html > So if you make a typo, AMQ may continue as normal. > We should add logic like in Camel, where we check the Map is zero after the introspection logic have set the options. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira