Prev | Current Page 467 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"


The Root Exchange will again be routed through the delivery channel back to the
onMessageExchange of the Broker, but this time the message exchange status is
already set as "DONE". So as shown in Sequence 1, the broker now returns back to
the delivery channel and the delivery channel in turn sends back any response to
the client.
This completes the entire process.
Chapter 16
[ 365 ]
Deploying and Running the Sample
As a first step, if you haven't done it before, edit examples.PROPERTIES (provided
along with the code download for this chapter) and change the paths there to match
your development environment. Now to build the entire codebase and deploy the
sample in a single go, change directory to ch16\voipservice which contains a
top-level build.xml file. Execute ant there.
cd ch16\voipservice
ant
Now, bring up the ServiceMix container by executing the broker.xml file contained
in the same folder.
cd ch16\voipservice
%SERVICEMIX_HOME%/bin/servicemix broker.xml
The Client.html file provided again in the same folder can be used to send
messages to test the deployed service.


Pages:
455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479