Showing posts from February, 2011

Creating a Servicemix Binding Component and using it

Here are the steps I followed to do this
- A working knowledge of maven is a must - Some knowledge of using Xbean is good ( not a must)
Creating a BC
1. Follow steps in
mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling -DarchetypeArtifactId=servicemix-binding-component -DarchetypeVersion=3.3.2 -DgroupId=com.nsn.hiq -DartifactId=hello-world-bc
4. xmlns:hellobc="http://com.nsn.hiq/1.0"
Some tips
In MyProviderEndPoint class the Xbean annnotation marks the name of the provider endpoint (which we will need later to use this component)
/** * @org.apache.xbean.XBean element="provider" */ public class MyProviderEndpoint extends ProviderEn…