ServiceMix EIP
Infonote |
---|
The ServiceMix EIP component is deprecated. Please use servicemix-camel which provides Apache Camel to implement all available Enterprise Integration Patterns. |
...
You can create a EIP Service Unit using the servicemix-eip-service-unit Maven archetype:
Code Block |
---|
mvn archetype:create \
-DarchetypeGroupId=org.apache.servicemix.tooling \
-DarchetypeArtifactId=servicemix-eip-service-unit \
-DarchetypeVersion=2010.01 \
-DgroupId=your.group.id \
-DartifactId=your.artifact.id \
-Dversion=your-version
|
Once you've customized the service unit, simply install the SU:
Code Block |
---|
mvn install
|
Info | ||
---|---|---|
Remember that to be deployable in ServiceMix, the ServiceUnit has to be embedded in a Service Assembly: only the Service Assembly zip file can be deployed in ServiceMix.
|
Endpoint Configuration
The EIP configuration is defined directly in the xbean.xml:
...