...
Here is a list of the ServiceMix archetypes that are available. You can also take a look at the current list of available archetypes at http://people.apache.org/maven-snapshot-repository/org/apache/servicemix/tooling/ or in the archetypes
directory in a ServiceMix source distribution.
Basic JBI artifact archetypes
There is a specific archetype available for generating every type of JBI artifact. They are named servicemix-binding-component
, servicemix-service-assembly
, servicemix-service-engine
, servicemix-service-unit
and servicemix-shared-library
.
Service units
Most of the ServiceMix archetypes can be used to create service unit projects. The most basic archetype is servicemix-service-unit
, which creates a generic SU project. You still have to add a <dependency/> to the pom.xml yourself for the JBI component you want to target. The other archetypes already generate a SU targeted at a specific component. They also provide an xbean.xml file and sometimes some additional sample files.
archetype | JBI component | contents of xbean.xml | remarks |
---|---|---|---|
servicemix-bean-service-unit | a bean endpoint definition | also generates a sample class named MyBean | |
servicemix-drools-service-unit | a drools endpoint | also generates a sample Drools rule file named router.drl | |
servicemix-eip-service-unit | an example for every EIP supported |
| |
servicemix-ftp-poller-service-unit | an <ftp:poller/> endpoint |
| |
servicemix-ftp-sender-service-unit | an <ftp:sender/> endpoint |
| |
servicemix-http-consumer-service-unit | some examples of possible HTTP consumer endpoint configurations |
| |
servicemix-http-provider-service-unit | some examples of possible HTTP provider endpoint configurations |
| |
servicemix-jms-consumer-service-unit | some examples of possible JMS consumer endpoint configurations |
| |
servicemix-jms-provider-service-unit | some examples of possible JMS provider endpoint configurations |
| |
servicemix-jsr181-annotated-service-unit | a JSR-181 annotated POJO endpoint | also generates a sample class named ExampleService | |
servicemix-jsr181-wsdl-first-service-unit | a JSR-181 WSDL based endpoint | also generates a sample WSDL file | |
servicemix-lwcontainer-service-unit | / | the servicemix.xml provided defines a sample lightweight component | |
servicemix-ode-service-unit | Apache ODE BPEL engine | / | creates a sample BPEL, WSDL and deploy.xml |
servicemix-saxon-xquery-service-unit | examples of all supported (resource, inline and dynamic) ways to XQuery | also generates an example of an XQuery file | |
servicemix-saxon-xslt-service-unit | examples of static and dynamic XSL-T usage | provides an example of an XSL-T file |