...
Wiki Markup |
---|
{snippet:id=example|lang=xml|url=http://cvssvn.servicemixapache.codehaus.org/*checkout*repos/asf/incubator/servicemix/trunk/baseservicemix-components/src/test/resources/org/apache/servicemix/components/pojo/example.xml?rev=HEAD} |
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 componenet. 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
...