Return-Path: X-Original-To: apmail-synapse-dev-archive@www.apache.org Delivered-To: apmail-synapse-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 A3C1010FCD for ; Sat, 10 Aug 2013 17:22:48 +0000 (UTC) Received: (qmail 98587 invoked by uid 500); 10 Aug 2013 17:22:48 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 98539 invoked by uid 500); 10 Aug 2013 17:22:48 -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 98524 invoked by uid 99); 10 Aug 2013 17:22:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Aug 2013 17:22:48 +0000 Date: Sat, 10 Aug 2013 17:22:47 +0000 (UTC) From: "Isuru Udana Loku Narangoda (JIRA)" To: dev@synapse.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SYNAPSE-965) Callout mediator to use 'To' header as EPR 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/SYNAPSE-965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Isuru Udana Loku Narangoda updated SYNAPSE-965: ----------------------------------------------- Attachment: SYNAPSE-965.patch Patch attached for this improvement. > Callout mediator to use 'To' header as EPR > ------------------------------------------ > > Key: SYNAPSE-965 > URL: https://issues.apache.org/jira/browse/SYNAPSE-965 > Project: Synapse > Issue Type: Improvement > Reporter: Isuru Udana Loku Narangoda > Assignee: Hiranya Jayathilaka > Priority: Minor > Attachments: SYNAPSE-965.patch > > > Callout mediator can be improved to use the 'To' header as the EPR when serviceURL is not specified. > This will allow us to dynamically set the EPR using the incoming message payload etc. > This is similar to the use case of Default Endpoint which uses the 'To' header to send the message out. > So the sample config looks like follows when serviceURL is not specified. >
> > xmlns:s12="http://www.w3.org/2003/05/soap-envelope" > xpath="s11:Body/child::*[fn:position()=1] | s12:Body/child::*[fn:position()=1]"/> > xmlns:s12="http://www.w3.org/2003/05/soap-envelope" > xpath="s11:Body/child::*[fn:position()=1] | s12:Body/child::*[fn:position()=1]"/> > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org For additional commands, e-mail: dev-help@synapse.apache.org