目前只支持对JMSCorrelationID的选择器。

huangapple go评论72阅读模式
英文:

Only selectors on JMSCorrelationID are currently supported

问题

你好,我目前正在使用golang的mq-golang-jms20库连接到IBM队列,但我尝试使用"JMSMessageID"选择器创建一个消费者,但是该库给出了"只支持对JMSCorrelationID的选择器"的错误信息。有人知道如何使用队列中的消息ID消费特定的消息吗?

英文:

Hi im currently using the mq-golang-jms20 library for golang to connect to a ibm queue, but im trying to create a consumer with the "JMSMessageID" selector but the library is giving me the "Only selectors on JMSCorrelationID are currently supported" does anybody knows how else could i consume a specific message using the message Id from the queue ?

答案1

得分: 2

感谢您将此问题提交为 git issue

我已经合并了一个允许通过 JMSMessageID 进行获取的 PR,所以如果您从 main 拉取最新的库,应该就可以了!

英文:

Thank you for submitting this as a git issue.

I've merged a PR to allow get by JMSMessageID today, so if you pull down the latest library from main you should be all set!

huangapple
  • 本文由 发表于 2022年2月3日 20:02:30
  • 转载请务必保留本文链接:https://go.coder-hub.com/70970933.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定