Hi,
this sounds very interesting. Though I won't be able to supply a
mediator configuration in my soap header. Is it possible to "ask"
installed mediators which header they process? Because I think then I
would be able to build the mediator sequence manually based on e.g.
header namespaces...
Fred.
Hadrian Zbarcea wrote:
Hi,
I am not sure I understand your question correctly, but I would try to
respond. I am by no means a Synapse expert, but afaik Synapse does
not allow you to do this out of the box today, but imho it is
possible. You would have to write your own custom mediator though.
You need to pass some information such as a <sequence> mediator
configuration in your soap header. The SynapseMediator would be
instantiated with your custom mediator which needs to do the following
_runtime_ (during mediate()):
1. Read the soap envelope and extract the relevant routing information
from the header.
2. Call on the appropriate MediatorFactory to build a mediator as
specified in the header (you can pool such mediators of course if the
rules are not too dynamic to save resources).
3. Invoke down on the dynamically created mediator.
The information in the header doesn't necessarily need to be synapse
configuration, but then you'd have to build your mediators
programatically.
Is this what you want to do or just my misunderstanding?
Regards
Hadrian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]