Return-Path: Delivered-To: apmail-synapse-dev-archive@www.apache.org Received: (qmail 3283 invoked from network); 12 Feb 2010 09:26:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Feb 2010 09:26:51 -0000 Received: (qmail 48845 invoked by uid 500); 12 Feb 2010 09:26:51 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 48752 invoked by uid 500); 12 Feb 2010 09:26:51 -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 48744 invoked by uid 99); 12 Feb 2010 09:26:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 09:26:51 +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; Fri, 12 Feb 2010 09:26:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EA883234C1EF for ; Fri, 12 Feb 2010 01:26:27 -0800 (PST) Message-ID: <854303499.229021265966787959.JavaMail.jira@brutus.apache.org> Date: Fri, 12 Feb 2010 09:26:27 +0000 (UTC) From: "Supun Kamburugamuva (JIRA)" To: dev@synapse.apache.org Subject: [jira] Updated: (SYNAPSE-608) Priority based mediation In-Reply-To: <967983477.172031265778988210.JavaMail.jira@brutus.apache.org> 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-608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Supun Kamburugamuva updated SYNAPSE-608: ---------------------------------------- Attachment: Priority_Based_Mediation_Configuration.pdf priority-configuration.xml synapse_sample_150.xml Attaching the configuration documentation and some samples. User can specify the priority-configuration.xml as a parameter in the NHTTP transport configuration. Parameter name is priorityConfigFile. Thanks, Supun.. > Priority based mediation > ------------------------ > > Key: SYNAPSE-608 > URL: https://issues.apache.org/jira/browse/SYNAPSE-608 > Project: Synapse > Issue Type: New Feature > Reporter: Supun Kamburugamuva > Assignee: Ruwan Linton > Attachments: priority-configuration.xml, Priority_Based_Mediation_Configuration.pdf, SYNAPSE-608.patch, synapse_sample_150.xml > > > Priority based mediation allows users to execute sequences with a given priority. This is important when there is a high volume of traffic going through synapse which require different processing capabilities. > First I'll explain the problem. > Lets assume we have two types of messages coming in to the ESB. One type of message(P1) is very important and other type(P2) is not that important. User can afford to loose some of the P2 messages occasionally. Load characteristics of both messages change over time. Some time lots of P1 and few P2 messages can come. Sometimes lots of P2 messages with few P2 messages can come. Sometimes lots of P1 and P2 messages can come. > In all these scenarios synapse should be able to guarantee the processing of P1 messages, even if it loose some P2 messages. > To get this functionality in to ESB, we have implemented this feature in to synapse at two different levels. They are at HTTP transport level and mediation level. > In the mediation level user can filter the messages using normal synapse capabilities for determining the priority and execute a sequence with a given priority. > In the transport level there is a configuration to determine the priority from HTTP properties and execute the sequences accordingly. > This feature is totally optional. -- 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