Prev | Current Page 120 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"

xml is as shown in the following code:







Now, executing the following command will send another message through
ServiceMix ESB to the HTTP service.
ant run
What Just Happened in ServiceMix
The following figure shows how we configured various components to the
ServiceMix ESB in servicemix.xml:
Chapter 3
[ 79 ]
As we know, all message exchange happens through the NMR. The description of
various components follows:
httpReceiver: Here, we configure org.apache.servicemix.components.
http.HttpConnector class to listen to a particular port (8912 in our case),
connected to the NMR using a HTTP channel. This means an external client
(such as HttpInOutClient in our case) can send HTTP requests to the NMR
through this component.
httpGetData: org.apache.servicemix.components.http.HttpInvoker
performs HTTP client invocations on a remote HTTP site. As described
earlier, we have EsbServlet.


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