Priority based mediation
------------------------
Key: SYNAPSE-608
URL: https://issues.apache.org/jira/browse/SYNAPSE-608
Project: Synapse
Issue Type: New Feature
Reporter: Supun Kamburugamuva
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: [email protected]
For additional commands, e-mail: [email protected]