Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

So let's see how to wire together a couple of components with Spring. The easiest way to get started is to see an example. The following configuration is taken from these examples.

...

 

We introduce a few new XML tags for JBI configuration, but apart from that you can use all of the regular Spring configuration tags - bean, property, value etc. For example, inside the <container> tag you can configure properties on the JBI container itself using <property> tags. Inside each <component> tag you can configure properties on the componenetcomponent. This allows you to mix and match regular Spring configuration of POJOs with our JBI Spring configuration mechanism.

...

  • Configure an instance of the SpringJBIContainer as a regular Spring POJO.
  • Configure the components you wish to deploy as regular Spring POJOs
  • List the components you want to deploy in the componentNames property of the JBI container.

Here is an example of that in action.

Related Documentation

The following tutorial shows how to create JBI components using the Spring Client Toolkit.