On Wed, Mar 21, 2012 at 10:15 AM, Amila Suriarachchi <[email protected]> wrote:

>
>
> On Wed, Mar 21, 2012 at 10:10 AM, Hiranya Jayathilaka <[email protected]>wrote:
>
>> 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:
>>
>
> The first one is the re factored new one.
>
> Still we haven't fix the samples.
> And also GUI is also rule mediator GUI is broken currently. Will fix them.
>

Thanks Amila. I have written a test case for this sample. So for the moment
I'll keep it commented out from the build.

Thanks,
Hiranya


>
> thanks,
> Amila.
>
>>
>> [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
>>
>>
>
>
> --
> *Amila Suriarachchi*
>
> Software Architect
> WSO2 Inc. ; http://wso2.com
> lean . enterprise . middleware
>
> phone : +94 71 3082805
>
>


-- 
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