【问题标题】:ActiveMQ CPP brokers URI problemActiveMQ CPP 代理 URI 问题
【发布时间】:2011-02-28 21:50:28
【问题描述】:

我正在使用 ActiveMQ CPP 5.2.3。

我正在尝试将transport.commandTracingEnabled=true 添加到 tcp 传输层:

failover://(tcp://10.10.10.1:61616transport.commandTracingEnabled=true,tcp://10.10.10.2:61616?transport.commandTracingEnabled=true)?randomize=true

ActiveMQ 不接受它。

但是,使用一个 TCP 传输它可以正常工作:

failover://(tcp://10.10.10.1:61616transport.commandTracingEnabled=true)?randomize=true

【问题讨论】:

    标签: c++ jms activemq activemq-cpp


    【解决方案1】:

    我想你的意思是版本 3.2.3。

    您能否详细说明“ActiveMQ 不接受它”的含义?

    看起来您缺少一个“?”第一个 ip/port 之后的字符

    failover://(tcp://10.10.10.1:61616transport.commandTracingEnabled=true,tcp://10.10.10.2:61616?transport.commandTracingEnabled=true)?randomize=true
    

    v3.2.5 中提供了一些 URI 修复,这也可能有所帮助。

    【讨论】:

      猜你喜欢
      • 2021-01-23
      • 1970-01-01
      • 2011-05-29
      • 1970-01-01
      • 1970-01-01
      • 2011-07-10
      • 1970-01-01
      • 2015-01-22
      • 1970-01-01
      相关资源
      最近更新 更多