THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Wiki Markup cd \[servicemix_install_dir\]\assembly\target\servicemix-2.0.2\bin\servicemix-2.0.2\examples\quartz-binding
- create a directory elsewhere, such as \temp\JBIcomponent
- copy servicemix.xml to \temp\JBIcomponent
- cd \temp\JBIcomponent
- edit servicemix.xml
- need to change a few things to make this a service unit, please see the code here:
Code Block
- need to change a few things to make this a service unit, please see the code here:
- Two jar files must be created. These jar files will be copied into the ServiceMix
deploy
directory.
The first jar file will contain the service componentjbi.xml
file. The file should contain:Code Block - Put
jbi.xml
in an empty META-INF directory and put that into a jar file:Code Block jar cvf service-component.jar *
- Then create a zip file of the
servicemix.xml
file you modified above. The zip file should contain the servicemix.xml file and it should be called su1.zip to match the name it is called in the jbi.xml file. - Create the second jar file--this is the service assembly jar file. It will contain another jbi.xml file that is used for the service assembly and it will also contain the zip file,
su1.zip
in this structure:
The service assembly jbi.xml should be similar to the following:Code Block META-INF/jbi.xml su1.zip
Copy the jbi.xml file to the META-INF directory, then create the jar file:Code Block Code Block jar cvf sa_quartz.jar *
- Put
Wiki Markup Finally, to *deploy*, copy sa_quartz.jar and service-component.jar to the {{deploy}} directory of ServiceMix. The deploy directory is located in {{\[servicemix_install_dir\]\deploy}}, where {{\[servicemix_install_dir\]}} is the location in which ServiceMix was installed.
...
Deploying JBI Components on Geronimo Using the Geronimo Deployment Tool
...