Why is Schema Validation for the Mule App xml not suitable for binding Java components?

I set the following component binding in my mule application.

<jersey:resources doc:name="REST"> <component> <spring-object bean="activityController"/> <binding interface="edu.ucdavis.edustream.esb.activity.service.EduStreamService" method="putActivity"> <vm:outbound-endpoint exchange-pattern="request-response" path="putActivity" /> </binding> </component> </jersey:resources> 

It builds and runs without errors, but mule xml lists the following errors:

 Element: Binding Properties is not allowed to be child of element Java Element: VM is not allowed to be child of element Binding Properties 

My configuration is very similar to the one in the following blog post and related github src:

http://blogs.mulesoft.org/mule-component-bindings/ https://github.com/mulesoft/blog/tree/master/StockStats

Any ideas on why the mule XML schema validation failed?

+2
source share
1 answer

This is a problem in the MuleStudio check itself, which does not yet support bindings. You can ignore this until it is fixed.

+2
source

Source: https://habr.com/ru/post/955938/


All Articles