xml.
??? ???
?° ?° ?°
???
Chapter 3
[ 77 ]
What you see in the following screenshot is the contents of my ServiceMix console:
The first part of the console output is showing ServiceMix initializing the components,
which we have configured previously in servicemix.xml. The components being
initialized, in our case, include trace, timer, httpGetData, and httpReceiver. Towards
the latter part of the output, we can see some XML messages. In fact, what we have
done here by bringing ServiceMix up is, we have triggered a message flow through
various components configured to the external HTTP service (in Tomcat or so),
retrieved the XML message and sent to the console output.
You have successfully invoked an external HTTP service through ServiceMix ESB!
JBI Container??”ServiceMix
[ 78 ]
Run a Client against ServiceMix
You can repeat sending messages through ServiceMix ESB by running the client
code packaged in the web application code base. To do this, change the directory to
ch03\Servlet.
To run the client code against ServiceMix, make sure (edit, if required) the run target
in the ch03\Servlet\build.
Pages:
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131