Return-Path: Delivered-To: apmail-synapse-dev-archive@www.apache.org Received: (qmail 58677 invoked from network); 11 May 2009 18:40:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 May 2009 18:40:08 -0000 Received: (qmail 28803 invoked by uid 500); 11 May 2009 18:40:08 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 28722 invoked by uid 500); 11 May 2009 18:40:07 -0000 Mailing-List: contact dev-help@synapse.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@synapse.apache.org Delivered-To: mailing list dev@synapse.apache.org Received: (qmail 28714 invoked by uid 99); 11 May 2009 18:40:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 May 2009 18:40:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 May 2009 18:40:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CF28B234C052 for ; Mon, 11 May 2009 11:39:45 -0700 (PDT) Message-ID: <1700453070.1242067185847.JavaMail.jira@brutus> Date: Mon, 11 May 2009 11:39:45 -0700 (PDT) From: "Ruwan Linton (JIRA)" To: dev@synapse.apache.org Subject: [jira] Assigned: (SYNAPSE-546) Use EndpointReference class helper methods instead of checking for each urls. In-Reply-To: <2057776734.1242030946064.JavaMail.jira@brutus> 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/SYNAPSE-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruwan Linton reassigned SYNAPSE-546: ------------------------------------ Assignee: Ruwan Linton > Use EndpointReference class helper methods instead of checking for each urls. > ----------------------------------------------------------------------------- > > Key: SYNAPSE-546 > URL: https://issues.apache.org/jira/browse/SYNAPSE-546 > Project: Synapse > Issue Type: Improvement > Reporter: Amila Chinthaka Suriarachchi > Assignee: Ruwan Linton > Attachments: patch.txt > > > Synapse checks the annonymous endpoint references for nhttp transport with following code. > (msgContext.getTo() != null) && > !AddressingConstants.Submission.WSA_ANONYMOUS_URL.equals( > msgContext.getTo().getAddress()) && > !AddressingConstants.Final.WSA_ANONYMOUS_URL.equals( > msgContext.getTo().getAddress())) > but it can simply write as > (msgContext.getTo() != null) && !msgContext.getTo().hasAnonymousAddress()) { > Note that hasAnonymousAddress method checks anonymousEquivalentURIs. RM 1.1 specification uses such > private annonymous URI and this change is needed to work synapse with Sandesh2 RM 1.1. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org For additional commands, e-mail: dev-help@synapse.apache.org