ActiveMQ 调试丢失消息
我正在尝试在我的应用程序中使用 ActiveMQ。为了测试它,我编写了两个小型 Java 应用程序,一个充当消息代理(服务器),一个应用程序充当客户端。客户端能够向服务器发布消息,并且它们应该被发送回所有客户端(类似于聊天室聊天客户端)。即使跨 VPN 网络,它在几台机器之间也能正常工作,但一些客户端表现得很奇怪。特别是一台计算机与客户端正常连接,它发送的消息会发送到所有客户端,但它只是收不到其他客户端发送的消息。
我现在想知道如何调试这种行为。我禁用了该计算机上的防火墙,但仍然无法解决该问题。
我可以做些什么来以方便的方式调试这个吗?
干杯, 最大限度
I'm trying to use ActiveMQ in my application. In order to test it, I wrote two small Java applications, one acting as a Message Broker (server) and one application acting as a client. The client is able to publish messages to the server and they are supposed to be sent back to all clients (similar to a chat room chat client). It works all well between a few machines even across a VPN network, but a few clients act up funny. Especially one computer connects properly to the client and message sent from it will be sent to all clients, but it just does not receive message sent from other clients.
I am now wondering on how could I possibly debug this behaviour. I disabled the firewall on that machine, but I am still not able to resolve the issue.
Is there anything I can do to debug this in a convenient way?
Cheers,
Max
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论