Now to test the
sample, first bring ServiceMix up by executing:
cd ch15\09_StaticRoutingSlip
%SERVICEMIX_HOME%\bin\servicemix servicemix.xml
Now in a different command prompt execute ant run.
cd ch15\09_StaticRoutingSlip
ant run
The output for the above command is shown in the following screenshot:
If you observe the ESB console you can see that the ESB routes the message in
series through the services specified through the slips (test:receiver1 and
test:receiver3).
Chapter 15
[ 345 ]
Summary
Integration requires a level of thinking different from the traditional software
engineering where you have to think in terms of software "plugs" and "sockets".
I have to admit that my university courses in Machine Design helped me a lot to
think of the software integration problem in terms of "shafts" and coupling"??”in fact,
their counterparts in EAI. I hope you too admit that after reading this chapter. So,
the next time when you want to integrate software components think in terms of
EAI and patterns. Moreover, try to "select and assemble integration building blocks"
rather than hand coding and hardwiring endpoints.
Pages:
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460