Zarig

First of all you need to subscribe <http://synapse.apache.org/mail-lists.html>to the [email protected] list before you can post messages and receive replies. I manually approved your mail through moderation, and copied this email to your private mailbox this time :-)
this is synapse.xml:
...
<syn:class name="samples.mediators.test1"/>
<syn:send>
... this is my mediator: ... RPCServiceClient serviceClient = null;...
The problem is that you are trying to use standard Axis2 to invoke the callout from within your mediator, and then trying to send.. and this probably conflicts with the axis2 configuration initialized by the Synapse environment already initiated
by the way, i know callout mediator, however I think it can not satisfy my requirements.
Why do you say that this does not satisfy your requirements? Can you elaborate your requirement a bit more.. The callout mediator performs a blocking send, while the send mediator will not block when using non-blocking transports such as the NIO based http/s.. These should allow you to do almost any scenario without writing your own mediator to do a callback.. you typically would want to write a new mediator to perform a custom transformation (e.g. proprietary data formats) etc and not for sending out..

asankha

Reply via email to