Prev | Current Page 122 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"

This ends up in invoking the remote HTTP service passing
the message parameters. The service gets invoked and any response is routed back
through a similar pipeline back to the client.
Spring XML Configuration for ServiceMix
ServiceMix uses XML configuration files. From 2.0 onwards, ServiceMix use the
XBean library to do the XML configuration. Thus, the simplest way to start using
ServiceMix to wire together JBI components is via Spring and the XML configuration
file mechanism from Spring.
???
???
???
???
JBI Container??”ServiceMix
[ 80 ]
We will now look at the details of how we have configured components together.
First, we introduce a few new XML tags for JBI configuration such as container
and activationSpecs, but apart from that, you can use all the regular Spring
configuration tags??”beans, bean, property, and value. For example, inside the
tag you can configure properties on the component. A component
can have tag with nested tag and so on. This allows you to mix
and match regular Spring configuration of POJOs with the ServiceMix JBI Spring
configuration mechanism.


Pages:
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134