Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Before you attempt at creating a JBI component using http://servicemix.org/site/creating-a-standard-jbi-component.html&nbspImage Removed;. My suggestion is that you should visit Maven's home page and have a look at the getting started page http://maven.apache.org/guides/getting-started/index.html&nbspImage Removed;. Get acquainted with the term archetype- going by definition it's more of "an original pattern or model from which all other things of the same kind are made". So there you go, Servicemix already has a template which you can use!

...

 2) After you have successfully run the above command this is what you would end up with servicemixwith servicemix-xslt\
pom.xml
src\
main\
java\
org\
apache\
servicemix\
xslt\
MyBootstrap.java
MyComponent.java
MyDeployer.java
MyEndpoint.java
MyLifeCycle.java
MySpringComponent.java
test\
java\
org\
apache\
servicemix\
xslt\
MySpringComponentTest.java
resources\
spring.xml      xml      
Now you might be wondering why why al why all the classes have the work "My" prefixed to it. Don't worry these are just driven from the templates, you just need to rename them to whatever you want to. Just make sure you change the corresponding resource files such as: