【发布时间】:2012-09-02 21:35:35
【问题描述】:
使用代理在 Windows 7 32 位上作为服务运行的 C# 框架 4.0,我在稳定版和开发版上都看到以下错误。
2012-09-09 20:25:03,524 | WARN | Internal Server Error: org.apache.activemq.apollo.util.path.PathParser$PathException: Invalid destination: 'ID\cEros201-30171-634828191032886763-1\c0\c1', it does not match regex: [ a-zA-Z0-9\_\-\%\~\:]+ | org.apache.activemq.apollo.stomp.StompProtocolHandler | hawtdispatch-DEFAULT-2
2012-09-09 20:25:03,542 | WARN | Internal Server Error: org.apache.activemq.apollo.util.path.PathParser$PathException: Invalid destination: 'ID\cEros201-30171-634828191032886763-1\c0\c1', it does not match regex: [ a-zA-Z0-9\_\-\%\~\:]+ | org.apache.activemq.apollo.stomp.StompProtocolHandler | hawtdispatch-DEFAULT-3
这样做的最终结果是我无法使用临时队列作为客户端上的调用块,并且在我可以响应异常之前会话超时。
Versions
Client dlls Stomp 1.5.2 NMS 1.5.0
Broker server apache-apollo-1.4 and apache-apollo-99-trunk-SNAPSHOT
【问题讨论】:
-
如何指定队列名称?这似乎是一些解析问题或与编码有关。
-
您是否尝试过使用 Apache.NMS.Stomp v1.5.3 版本
-
提供的 .net api 隐藏了临时目的地名称的指定。我假设客户端 api 层中存在错误或与代理的配置不匹配(至少开箱即用)。