That is the version of Synapse you are using ? And you can also use messageContext.getSequence()
thanks, Charith On Thu, Apr 21, 2011 at 5:16 AM, Abid Khan-EXT <[email protected]>wrote: > Hello Charith, > > > > I finally got time to look into this again, but the method > “getSynapseConfiguration()” is not available in > > > > messageContext.getEnvironment().getSynapseConfiguration() > > > > if I write that it give me compilation error. > > > > Thanks, > > Abid > > > > *From:* Charith Wickramarachchi [mailto:[email protected]] > *Sent:* Monday, April 04, 2011 3:45 PM > *To:* [email protected] > *Cc:* Abid Khan-EXT > *Subject:* Re: Help: how to invoke a Sequence from a class mediator > > > > 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 > > > -- Charith Dhanushka Wickramarachchi http://charithwiki.blogspot.com/
