Hi again,
I implement a custom mediator to check the response time for certain
service. Y use the folowing configuration:
<sequence name="main" onError="fault">
<in>
<send>
<endpoint name="stockquote">
<address uri="http://localhost:9000/soap/MyService"/>
</endpoint>
</send>
<class name="ResponseTimeMediator">
</class>
</in>
<out>
<class name="ResponseTimeMediator">
</class>
<send/>
</out>
</sequence>
The ResponseTimeMediator is called when invoke the service and when
receive the response, so i generate a timestamp in each step but i face
a problems to find a call identifier to match the entry call with the
response call. I look into the MessageContext fields but i don't found
any usefull (i saw the isResponse field so i think exists but i dont
find it :).
Thanks in advance!
Regards.
--
A/C Daniel Pereda
Mobility Solutions - http://www.mobilitysol.com
Fco. Araucho 1362, oficina 105, Montevideo, URUGUAY
Móvil (+598) 96 199 105
Teléfono (+598 2) 707 37 95, int 101
Fax (+598 2) 707 37 95, int 123