You have access to the Synapse Configuration inside any Mediator.
If its a defined sequence in the configuration.
you can use.
messageContext.getEnvironment().getSynapseConfiguration().getDefinedSequences().get("Sequence
Name").
If its coming from a registry.
you can use.
messageContext.getSequence("Sequence Name")
thanks,
Charith
On Mon, Apr 4, 2011 at 10:13 PM, Abid Khan-EXT <[email protected]>wrote:
> Hello
>
> I have a certain need for invoking a sequence from a class mediator, please
> provide some hints,
>
> Thank,
> Abid
>
--
Charith Dhanushka Wickramarachchi
Software Engineer
WSO2 Inc
http://wso2.com/
http://wso2.org/
blog
http://charithwiki.blogspot.com/
twitter
http://twitter.com/charithwiki