开发者

Delayed messages in JMS queue

I have a question about a delay that happens intermittently in one queue. I'm using JMS over Weblogic 10.0.

So, the client sends a message to the server through the queue called RequestQueue. The server responses to the client through the queue called ResponseQueue. The response message is a 12-character Java String, a simple answer.

The average response time is 3 seconds. But, sometimes the response message is del开发者_运维知识库ayed and it arrives in... 2 minutes! The message seems to remain in the queue. There is no error in logs, the response message always arrives, but about 10%, this delay happens, and I don't know why. I can't identify any pattern that explain this situation.

Could you tell me any suggestion about this?

Thanks in advance


The first thing i would check is whether the messages are produced later, or the messaging system does delay the messages after the sent operation. Therefor you can check the JMSTimestamp field in the Message header. Maybe you can just log the JMSTimestamp file of the Request and the Response message then you can focus your analysing on the part of the system where the delay seems to occur.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜