LibraryLink ToToggle FramesPrintFeedback

Deploying EIP Endpoints in a JBI Service Unit

To create an EIP service unit using Maven, change directory to the location where you want to put the Maven project, and enter the following Maven command:

mvn archetype:create

Where YourGroupId is the group ID for the new project, which is usually specified in the form of a reverse hostname (for example, com.fusesource.demo) and YourArtifactId is an identifier for this project (for example, simple-eip-su).


There are some alternative approaches you can use to run the Maven archetype: you could run the archetype within the Eclipse IDE, if you have installed the m2eclipse plug-in; or you could run the FUSE ESB smx-arch utility, by entering the command smx-arch su eip.

To configure EIP endpoints in the JBI service unit, edit the xbean.xml file (located in src/main/resources, in the Maven project) and embed your endpoints at the point shown in the following example:

<beans xmlns:eip="">

  ... add eip patterns here ...


In the default xbeans.xml file generated by the Maven archetype, there is a collection of sample EIP patterns already defined in the beans element. You can use one or more of these samples as a starting point for defining your own routes and you can delete the samples you do not need.

To build the EIP service unit as a Maven project, change directory to the root of the project (this directory has the same name as the project's artifact ID) and enter the following command:

mvn install

After a successful build, you can find the SU package in the YourArtifactId/target directory.

To complete the packaging of the EIP project, you must add the EIP service unit to a JBI service assembly.

After packaging the EIP project, you can deploy it in one of the following ways:

For full details about JBI deployment options, see Configuring and Running the Container.