How to create SU from a BC(Binding component)
1) I created a custom Binding component and overridden the process method.
2) The binding component build s & installs successfully
3) I am able to deploy it in hotdeploy folder of servicemix.
4) But do not know how to create a SU(serviceunit) that will refer to &
configure this custom Provider
Other question How to successfully test the Consumer BC and create SU for
the same
1)I created one more custom BC by selecting artifact
servicemix-binding component.
2) Wrote code in start() method
3) Changed the spring.xml file
4)The following is the code in MyConsumerEndpoint.java start() method:
5) When I do >mvn install thru command prompt
The test fails ,but the code in the start method is executed.
6) Following is the output in console for >mvn install:
--
View this message in context:
http://old.nabble.com/How-to-create-a-Serviceunit-from-a-custom-binding-component-tp28604759p28604759.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.