Hi Laurent
I'm interested in a generic proxy.
My needs are to mediate the message (in order to log some informations) and
then to route to another server.
It seems that I must declare one proxy for each service in the synapse
configuration.
Is there a way to declare just one proxy to only switch the host and not the
path?
Sure, you can use the 'message mediation' feature of Synapse for this
(http://synapse.apache.org/Synapse_Configuration_Language.html#a_message_mediation)
Thus, the sequence named "main" accepts / handles any message not
dispatched to a proxy service. You can then use Synapse to re-write the
To address as appropriate, and I am informed that a university student
is currently writing a mediator which can do just this very simply -
e.g. like mod reqrite.. This mediator should be available in the next week..
asankha