2009-04-28 3 views
2

JMS 토픽 destiantion 내에있는 메시지를 볼 수있는 방법이 있습니까?SUN IMQ 토픽 메시지 미리보기

토픽 대상에서 해제되지 않은 메시지에 문제가 있습니다. Topic에는 1 명의 프로듀서와 7 명의 소비자가 있고 그 중 누구도 내구성이 없습니다.

미리 제안 해 주셔서 감사합니다.

답변

4

일부 파기가 마침내 대답을 찾은 후.

나는 다음과 같은 명령을 사용합니다 :

my_topic 내 주제 대상의 이름입니다
imqcmd list msg -t t -n my_topic -nocheck 

.

imqcmd query msg -t t -n my_topic -msgID "ID:9-AAA.BBB.CCC.DDD(e9:3b:c8:51:8b:75)-58798-1217457169630" -nocheck 

같은 인쇄 잡아 줄께 :

Querying message: 
------------------------------------------------------------ 
Message ID 
------------------------------------------------------------ 
ID:9-AAA.BBB.CCC.DDD(e9:3b:c8:51:8b:75)-58798-1217457169630 

In the destination 
------------------------------------ 
Destination Name Destination Type 
------------------------------------ 
my_topic   Topic 

On the broker specified by: 

------------------------- 
Host   Primary Port 
------------------------- 
localhost 7676 

-------------------------- 
Message Header Information 
-------------------------- 
Message ID     ID:9-AAA.BBB.CCC.DDD(e9:3b:c8:51:8b:75)-58798-1217457169630 
Correlation ID    TestCorrID 
Destination Name   my_topic 
Destination Type   Topic 
Delivery Mode    PERSISTENT (2) 
Priority     4 
Redelivered     false 
Timestamp     7/30/08 3:32:49 PM 
Type       
Expiration     12/31/69 4:00:00 PM 
ReplyTo Destination Name temporary_destination://topic/AAA.BBB.CCC.DDD/58798/1 
ReplyTo Destination Type  

------------------------------ 
Message Properties Information 
------------------------------ 
LongProp  6534 
IntProp  3 
StringProp TestStringValue 
DoubleProp 7.4687643E7 

------------------------ 
Message Body Information 
------------------------ 
Body Type TextMessage (1) 

그 후 메시지를 삭제할 수 있습니다을 나는이 명령을 사용하여 메시지의 세부 정보를 볼 수 있습니다

Listing messages for the destination 
------------------------------------ 
Destination Name Destination Type 
------------------------------------ 
my_queue   Topic 

On the broker specified by: 

------------------------- 
Host   Primary Port 
------------------------- 
localhost 7676 

-------------------------------------------------------------------------------------------------- 
Message # Message IDs              Priority Body Type 
-------------------------------------------------------------------------------------------------- 
0   ID:9-AAA.BBB.CCC.DDD(e9:3b:c8:51:8b:75)-58798-1217457169630  4   TextMessage 
1   ID:10-AAA.BBB.CCC.DDD(e9:3b:c8:51:8b:75)-58798-1217457169709 4   TextMessage 
2   ID:11-AAA.BBB.CCC.DDD(e9:3b:c8:51:8b:75)-58798-1217457169717 4   TextMessage 
3   ID:12-AAA.BBB.CCC.DDD(e9:3b:c8:51:8b:75)-58798-1217457169720 4   TextMessage 
4   ID:13-AAA.BBB.CCC.DDD(e9:3b:c8:51:8b:75)-58798-1217457169723 4   TextMessage 
5   ID:14-AAA.BBB.CCC.DDD(e9:3b:c8:51:8b:75)-58798-1217457169727 4   TextMessage 

: 같은 응답을받은 후 명령 :

imqcmd destroy msg -t t -n my_topic-msgID "ID:9-AAA.BBB.CCC.DDD(e9:3b:c8:51:8b:75)-58798-1217457169630" -nocheck 

희망이 누군가 언젠가는 ...

+0

오늘 .. 도와 줬어. – Preston