首页 - 信息 - activeMQ多个使用者问题

activeMQ多个使用者问题

2023-09-24 03:52
| 我们有两个配置为集群的activemq实例和四个玻璃鱼实例的集群,它们应在任何给定时间连接到一个activemq。如果activemq01不可用,则所有四个glassfish实例都应在activemq02上进行故障转移。 我已经多次注意到,由于未知原因,(随机)glassfish实例之一将在activemq02上进行故障转移,并且即使activemq01没有关闭,其余三个实例仍将连接到activemq01,并且所有glassfish实例都应该已经关闭在activemq01上监听。 日志没有表明任何可以解释此行为的内容,我所能看到的是,一个glassfish实例是否无法连接到activemq01并无法在activemq02上进行故障转移。 是否有人遇到过相同或相似的问题?任何帮助/建议,我们将不胜感激。 这是我的activemq配置: activemq01: http://www.gsm-guard.net/schema/beans http://www.gsm-guard.net/schema/beans/spring-beans-2.0.xsd   http://www.gsm-guard.net/schema/core http://www.gsm-guard.net/schema/core/activemq-core.xsd \“>            文件:$ {activemq.base} /conf/credentials.properties        

  



  




  



  




  
    
      
    
    
      
    
    
      
    
  



  

   # activeMQ02: http://www.gsm-guard.net/schema/beans http://www.gsm-guard.net/schema/beans/spring-beans-2.0.xsd   http://www.gsm-guard.net/schema/core http://www.gsm-guard.net/schema/core/activemq-core.xsd \“>            文件:$ {activemq.base} /conf/credentials.properties        

  



  




  

           

  
    
      
    
    
      
    
    
      
    
  



  

   activeMQ的版本-5.4.1