cURL 和 ActiveMQ
我需要一个关于如何使用 cURL 通过 HTTP 在 C 或 C++ 中读取/写入 ActiveMQ 队列的示例(或其他内容,目前我对任何内容都持开放态度)。 我有 C# 的工作代码,但没有帮助。 任何帮助表示赞赏, 谢谢。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我需要一个关于如何使用 cURL 通过 HTTP 在 C 或 C++ 中读取/写入 ActiveMQ 队列的示例(或其他内容,目前我对任何内容都持开放态度)。 我有 C# 的工作代码,但没有帮助。 任何帮助表示赞赏, 谢谢。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
首先我假设:
示例:
$curl -X 删除“http://localhost:8161/demo/message/test?type=queue&clientId=consumerA”
“Hello World”
$curl -d 'action=unsubscribe' "http://localhost:8161/demo/message/test?type=queue&clientId=consumerA"
您应该能够监控所有从 admin 界面进行上述操作
First I assume:
Example:
$ curl -d 'body="Hello World"' "http://localhost:8161/demo/message/test?type=queue&clientId=consumerA"
$ curl -X delete "http://localhost:8161/demo/message/test?type=queue&clientId=consumerA"
"Hello World"
$ curl -d 'action=unsubscribe' "http://localhost:8161/demo/message/test?type=queue&clientId=consumerA"
You should be able to monitor all of the above operations from the admin interface
http://activemq.apache.org/rest.html
http://activemq.apache.org/rest.html