Hi,

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.

I will create a JIRA and attach the source for review.

Thanks,
Supun..


-- 
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com

Reply via email to