Versions Compared

Key

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

...

Check if you have maven2 installed, if not then please install it. http://maven.apache.org/download.html#InstallationImage Added

1) To create a JBI component as you might have guessed by now - run the mvn command: (needless to say you should create a new directory where you want all your stuff to be generated )

...

 2) After you have successfully run the above command this is what you would end up with 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      
Now you might be wondering why all the classes have the work word "My" prefixed to itthem. Don't worry these are just driven from the templatestemplate, you just need to rename them to whatever you want to. Just make sure you change the corresponding resource files such as:, change "My" to whatever prefix that you used for the classes.