Hi Gert,

  I made the following changes in the service.xml

    <sm:securedBroker authorizationMap="#authorizationMap">
        <sm:flows>
                <sm:jmsFlow jmsURL="${activemq.url}" />
                           <sm:sedaFlow />           
                          <sm:jcaFlow connectionManager="#connectionManager"    
                
jmsURL="${activemq.url}" />
        </sm:flows>
      </sm:securedBroker>


However, I got the same error. The same error messages are being displayed
in both instances of 
servicemix console windows.

Regards,
Ganesh





Gert Vanthienen wrote:
> 
> L.S.,
> 
> You should make sure that the JMS Flow is enabled and used by your 
> exchanges.  You can do this by either:
> - making it the first flow defined in your servicemix.xml config file, 
> so it becomes the default
> - setting the JbiConstants.FLOW_PROPERTY_NAME property on the Exchange
> 
> Gert
> 
> 
> navigator09 wrote:
>> Hi,
>>
>>   I am trying a clustering configuration where there are two servicemix
>> instances in two different machines, lets say "Instance A" and "Instance
>> B".
>> They are connected together through the " static network configuration"
>> in
>> activemq.xml.
>>
>>   Now I have a binding component in "InstanceA" pointing to the  service
>> of
>> the service engine in "Instance B". Based on the clustering diagram given
>> in
>> the following link,
>>
>>  http://servicemix.apache.org/clustering.html
>>
>>   any message sent to the binding component should be routed to service
>> engine. I am getting the following error , 
>>
>> body><h2>HTTP ERROR: 500</h2><pre>javax.jbi.messaging.MessagingException:
>> Could not find route for exchange: InOut[
>>   id: ID:10.20.3.92-11b8dbd07d0-8:0
>>   status: Active
>>   role: provider
>>   service: {http://scm}SCMService
>>
>>  whats the right way of service discovery by two different servicemix
>> instances? 
>>   
> 
> 
> 
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
> 

-- 
View this message in context: 
http://www.nabble.com/service-discovery-in-servicemix-tp18811153p18826411.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to