Hi Folks,

Rule mediator samples are not working in ESB. I looked into the rule
mediator component in the trunk and I see two bundles that contain a rule
mediator implementation:

org.wso2.carbon.rule.mediation
org.wso2.carbon.rule.mediator

Currently ESB pack contains the first bundle and it isn't working:

[2012-03-21 10:04:35,930] ERROR - MediatorFactoryFinder Unknown mediator
referenced by configuration element : {http://ws.apache.org/ns/synapse}rule
[2012-03-21 10:04:35,931]  WARN - SynapseXMLConfigurationFactory Sequence
configuration: main cannot be built - Continue in fail-safe mode
org.apache.synapse.SynapseException: Unknown mediator referenced by
configuration element : {http://ws.apache.org/ns/synapse}rule
at
org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:185)
at
org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
at
org.apache.synapse.config.xml.InMediatorFactory.createSpecificMediator(InMediatorFactory.java:48)
at
org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:89)
at
org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:190)
at
org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
at
org.apache.synapse.config.xml.SequenceMediatorFactory.createSpecificMediator(SequenceMediatorFactory.java:85)
at
org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:89)
at
org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:190)
at
org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineSequence(SynapseXMLConfigurationFactory.

Why do we have two implementations of the rule mediator? Is the one in the
ESB pack correct? And if so why is it failing?

Thanks
-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: [email protected];  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to