Hi Paul,

Hope you are doing great.

I was wondering how come the current mediators are exposed as samples and
are not part of the Synapse core package? I would suggest that we bundle it
as org.apache.synapse.mediators and leave it to the discretion of the users
whether to use them or not.

Another feature that could be very useful is to have a clocking mechanism
for the mediators by which we can find out how much time each of the
mediators took to execute in milliseconds maybe. One use I can think of is
in Service level agreement (SLA).

Vikas and I did a bit of work and I guess we can put this clocking
module/code in the
org.apache.synapse.processors.mediatortypes.axis2.ServiceMediatorProcessor
class in case mediators implemented as axis2 services. So whenever a
mediator is executed we clock it and put it in the messageContext, which the
logging and monitoring mediator can use, in case of a breach of contract
(SLA) we can send email or take any action.

Your thoughts?

Best regards
Soumadeep




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to