-
Book Overview & Buying
-
Table Of Contents
Service Oriented Java Business Integration
Java proxies for the JBI endpoints can be created in ServiceMix using JSR181 components. For this, the requirement is that the JBI endpoints should expose a WSDL.
A jsr181:endpoint takes a value for the serviceInterface attribute. The JBI container will be able to generate the WSDL out of this serviceInterface. Thus, if we have a jsr181:endpoint exposing service to the JBI bus, it is possible to provide a proxy for that service too.
The basic configuration for defining a JBI proxy is shown as follows:
<jsr181:proxy id="proxyBean" container="#jbi" interfaceName="test:HelloPortType" type="test.Hello" />
Once a proxy is defined, the same can then be referenced from your client bean or from one of your components. The proxied JBI endpoint can then be invoked just like a normal POJO.
If you want to define a JBI proxy within a SU, you can follow the configuration given as follows:
<jsr181:endpoint annotations="none" service="test:echoService" serviceInterface="test.Echo...
Change the font size
Change margin width
Change background colour