Then this managed server also will form a part of the same
cluster joined by the admin server. Then we deploy receiver1 and receiver3
services to this server.
The second managed server configuration is included in ch17\03_Clustering\
managed2\ servicemixmanaged2.xml, which is listed as follows:
xmlns:amq="http://activemq.org/config/1.0"
xmlns:eip="http://servicemix.apache.org/eip/1.0"
xmlns:foo="http://servicemix.org/demo/">
.
./build
class="org.apache.xbean.spring.jndi.
SpringInitialContextFactory"
factory-method="makeInitialContext" singleton="true" />
name="managed2"
flowName="jms?jmsURL=tcp://localhost:61616"
useMBeanServer="true"
createMBeanServer="true"
rmiPort="1111">
service="foo:receiver3">
class="managed2.MyReceiver" >
3
service="foo:receiver2">
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514