apache.servicemix.components.
http.HttpConnector">
service="test:receiver1">
class="MyReceiver" >
Chapter 15
[ 343 ]
1
service="test:receiver2">
class="MyReceiver" >
2
service="test:receiver3">
class="MyReceiver" >
3
endpoint="routingSlipEndpoint">
service="test:receiver1" />
service="test:receiver3" />
Enterprise Integration Patterns in ESB
[ 344 ]
Deploy and Run the Sample
To build the sample, change directory to ch15\09_StaticRoutingSlip and type
ant as shown here:
cd ch15\09_StaticRoutingSlip
ant
This will compile all the files, including the JMS client program.
Pages:
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459