Guys

 

I was just trying to extend clustering example that comes with
distribution to run inside of main ServiceMix configuration (as
conf/servicemix.xml). Obviously it didn't work, so I went through
process of elimination or actually "build-up" by taking
servicemix-poller.xml and moving components from servicemix.xml into it
and. got it to work. I also realized what was stopping it from working
when I did it the first time, but I am not sure why. The issue was with
the Secured Broker configuration (see below) that apparently does not
let two nodes join into the cluster. Once this XML segment removed I see
tow nodes joining in the cluster.

 

====

<!-- Use a secured broker (see security.xml)

         and define the 3 standard flows --> 

    <sm:broker>

      <sm:securedBroker authorizationMap="#authorizationMap">

        <sm:flows>

          <sm:sedaFlow />

          <sm:jmsFlow jmsURL="${activemq.url}" />

          <sm:jcaFlow connectionManager="#connectionManager"

                      jmsURL="${activemq.url}" />

        </sm:flows>

      </sm:securedBroker>

    </sm:broker>

====

 

I'll be looking at the source tomorrow, but would appreciate if anyone
could point me in the right direction as to Why Secure Broker
configuration  

 

Thanks

oleg

 

 

Reply via email to