Questions tagged «azure-queues»

3
JMS消息侦听器调用程序失败,原因:标识符包含无效的JMS标识符字符“-”:“ x-request-id”
我是第一次使用JMS和队列(Azure队列)。我需要做一个队列,Rubi服务器将在其中写入一些数据,而Java将从队列中读取数据并将进行进一步的执行。此过程在我的计算机上本地正常运行。我创建了一个REST端点,该端点将数据写入队列中,一旦将数据写入队列中,侦听器将接管并读取数据并执行。当我们将其部署到Azure时,我在日志中看到的错误是不允许队列启动 Setup of JMS message listener invoker failed for destination 'queue' - trying to recover. Cause: Identifier contains invalid JMS identifier character '-': 'x-request-id' Zipkin还作为分布式跟踪系统出现在Azure服务器上,我想这x-request-id与Zipkin有关,后者正在造成问题。我已经在Google上搜索了此问题,但不知道为什么会这样。 以下是详细的错误消息: [36mc.m.s.l.NextGenRequestLoggingFilter [0;39m [2m:[0;39m Before request [uri=/services/deal-service/api/v2/deals/ack;headers= [x-request-id:"2d8d86d7-4fbf-9db6-8e95-28813f21a85c", x-envoy-internal:"true", x-b3-parentspanid:"a209cdc649b0b890", content- length:"575", x-forwarded-proto:"http", postman-token:"ad074595- 76a5-474b-9711-7e071b12b3b0", x-b3-sampled:"1", x-forwarded- for:"10.244.2.1", accept:"*/*", authorization: "some-token-YJc4tg--34jPRziJNSACqNQ", x-b3- traceid:"6b40ff22781be67ba209cdc649b0b890", x-b3- spanid:"702684ddb62cfe6b", …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.