2014-10-20 58 views
0

即使测试通过,死信队列中也会有相当多的消息(1到43个dlq)。这是一些相关的例子。ServiceStack RabbitMqRequestReplyTests在DLQ中留下消息

Exchange mx.servicestack.dlq 
Routing Key  mq:Incr.dlq 
Redelivered  ○ 
Properties 
timestamp: 1413840195 
message_id: 887b23b8-1243-4e58-9332-0c6cb3af14c6 
reply_to: mq:tmp:916f686feb924d1fb2bfe5b2aa5087d9 
priority: 0 
delivery_mode: 2 
headers:  
Error: {"ErrorCode":"OperationInterruptedException","Message":"The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=405, text=\"RESOURCE_LOCKED - cannot obtain exclusive access to locked queue 'mq:tmp:916f686feb924d1fb2bfe5b2aa5087d9' in vhost '/'\", classId=50, methodId=20, cause=","Errors":[]} 
content_type: application/json 
Payload 12 bytes Encoding: string 

{"Value":41} 

这条消息被重复了10次,这是我应该关注的东西吗?

回答

0

好这个问题是我缺少this test存在的事实!这就是当你变老时的情况。

1

的东西在你的程序中声明了队列,排他的,因此其他任何试图访问这些队列不能,因为队列被宣布独家