<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 42,comments - 83,trackbacks - 0
            今天同事問我說,如何處理RECEIVE、VISIBLE的JMS消息?有點懵,之前從沒有關注過消息的狀態。Weblogic81中,我們是不能看到destination中的消息的,只能看到當前destination中,有多少message, 有多少pending的message。而92中,我們監控destination的時候,可以看到具體的message,而且message后面會跟一個state string。標題中說的RECEIVE、VISIBLE就是這個state string,其實state有很多,常見的也就是RECEIVE、VISIBLE。下面我們看看所有這些STATE在代碼(MessageInfo.java)中的解釋,

    VISIBLE:Indicates that the message is visible on the destination.消息已經入列,等待被消費。

    ORDERED:Indicates that the message belongs to a Unit of Order. 消息處于某個unit中。

    DELAYED:Indicates that the message exists on the destination but is classified as pending because it has a scheduled delivery time or is delayed. 消息已經入列,但因為TimeToDeliver還沒有到,直到TimeToDeliver,該消息才會變成VISIBLE。或者由于客戶端消費異常,比如onMessage中出現了RuntimeException,消息被recover后,等待Redelivery Delay時間到達,然后重新發送。

    RECEIVE:Indicates that the message exists on the destination but is classified as pending because it has been received but not acknowledged. The actual state may also include STATE_TRANSACTION if the receive operation was performed as part of a transaction.消息已經入列,且已經被DELIVER到某個CONSUMER,但CONSUMER的ACKNOWLEDGE還沒有收到。可能是網絡問題或客戶端設為CLIENT_ACK模式。

    SEND:Indicates that the message exists on the destination but is classified as pending because it is part of a send operation that is in progress. The actual state may also include STATE_TRANSACTION if the send operation was perfromed as part of a transaction.消息已經入列,但目前send操作正在處理中(比如事務未提交),該消息對于consumer是不可用的。

    TRANSACTION:Indicates that the message exists on the destination but is classified as pending because it is part of a send or receive operation that is being performed as part of a global transaction.

    PAUSED:Indicates that the message exists on the destination but is being held in a pending state because of a pause operation. 消息因為PAUSE被PENDING在DEST中。

    REDELIVERY_COUNT_EXCEEDED:Indicates that the message has exceeded the redelivery count set for the destination and is no longer available for consumption. 消息反復REDELIVERY的上限已經到達,這樣的消息不會被重發。

            根據消息的狀態,我們基本可以斷定JMS消息相關問題的位置,從而調查可以做到有的放矢。




    posted on 2009-05-21 15:27 走走停停又三年 閱讀(1653) 評論(0)  編輯  收藏 所屬分類: Weblogic
    主站蜘蛛池模板: 亚洲 欧洲 视频 伦小说| 精品国产污污免费网站aⅴ | 成人网站免费观看| 国产特黄一级一片免费| 亚洲小说图区综合在线| 日韩免费视频网站| 37pao成人国产永久免费视频| 午夜免费国产体验区免费的 | 亚洲 日韩 色 图网站| 亚洲精品线在线观看| 欧洲乱码伦视频免费| 免费av片在线观看网站| 一级做受视频免费是看美女| 亚洲va久久久噜噜噜久久天堂| 国产无遮挡吃胸膜奶免费看视频| 国产a视频精品免费观看| 在线观看免费无码专区| 国产V片在线播放免费无码| 鲁死你资源站亚洲av| 亚洲av乱码一区二区三区| 久久亚洲AV成人出白浆无码国产| 亚洲精品午夜国产VA久久成人| 亚洲第一成人影院| 国产人成免费视频| 永久免费看bbb| 香蕉高清免费永久在线视频 | 亚洲丝袜中文字幕| 久久精品国产亚洲AV高清热| 亚洲精品国偷自产在线| 国产国拍精品亚洲AV片| 亚洲伊人成无码综合网 | 一区二区三区视频免费观看| 亚洲AV综合永久无码精品天堂| 亚洲一区欧洲一区| 亚洲精品国产国语| 亚洲乱码在线卡一卡二卡新区| 亚洲xxxx18| 亚洲色中文字幕在线播放| 亚洲风情亚Aⅴ在线发布| 久久亚洲AV成人无码国产电影 | 四虎永久在线精品免费影视|