org/schemas/spring/1.0"
class="MyReceiver" >
1
service="test:receiver2">
class="MyReceiver" >
2
Enterprise Integration Patterns in ESB
[ 318 ]
service="test:receiver3">
class="MyReceiver" >
3
class="org.apache.activemq.ActiveMQConnectionFactory">
We have configured three recipients namely test:receiver1, test:receiver2, and
test:receiver3 in the static recipient list above.
Deploy and Run the Sample
To build the sample, change directory to ch15\04_StaticRecipientList and type
ant as shown here:
cd ch15\04_StaticRecipientList
ant
This will compile all the files, including the JMS client program.
Pages:
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432