You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Current Behaviour

 

The page documents the current (trunk 2016-11-04, r1767914) behaviour of the WMC's message preview feature under the following test cases.

 

Test CaseMessage
small text messageJMS TextMessage "hello world"
large text messageJMS TextMessage "ABCD" repeated 1024^2 times
small map messageJMS MapMessage one key/value pair of each supported type. String pair value is (1)
large map messageJMS Map Message one key/value pair of each supported type. String pair value is (2)

large pdf file

JMS Bytes Message containing a PDF (2102551 bytes)
small stream messageJMS Stream Message containing pair of each support type. String value is (1)
large stream messageJMS Stream Message containing pair of each support type. String value is (2)
small object messageJMS Object Message containing List comprising string value (1) and an integer
large object messageMS Object Message containing List comprising string value (2) and an integer

 

(1) String "hello world"

(2) "ABCD" repeated 1024^2 times


Test CaseProtocol 0-9 
Content TypeOn screen previewContent Download 
small text messagetext/plaincomplete string valueditto preview 
large text messagetext/plaintruncated string valuecomplete string value 
small map messageamqp/mapTable containing name/value pairs
Bytes array is base64 encoded 
The map contents encoded by the
TypedBytesContentWriter.

Distinct from AMQP

 
large map messageamqp/mapError popup 'unknown code 67'
No preview displayed.
Broker survives. Stack trace (1)
Ditto above 

large pdf file

    
small stream message    
large stream message    
small object message    
large object message    

 

(1) 

2016-11-04 11:01:43,128 DEBUG [HttpManagement-HTTP-218] (o.a.q.s.m.p.s.r.RestServlet) - IllegalArgumentException processing request
java.lang.IllegalArgumentException: unknown code: 67
at org.apache.qpid.transport.codec.AbstractDecoder.getType(AbstractDecoder.java:354) ~[classes/:na]
at org.apache.qpid.transport.codec.AbstractDecoder.readMap(AbstractDecoder.java:287) ~[classes/:na]
at org.apache.qpid.server.protocol.v0_8.MessageConverter_v0_8_to_Internal.convertMessageBody(MessageConverter_v0_8_to_Internal.java:340) ~[classes/:na]
at org.apache.qpid.server.protocol.v0_8.MessageConverter_v0_8_to_Internal.convert(MessageConverter_v0_8_to_Internal.java:86) ~[classes/:na]
at org.apache.qpid.server.protocol.v0_8.MessageConverter_v0_8_to_Internal.convert(MessageConverter_v0_8_to_Internal.java:48) ~[classes/:na]
at org.apache.qpid.server.queue.AbstractQueue.createMessageContent(AbstractQueue.java:3731) ~[classes/:na]
at org.apache.qpid.server.queue.AbstractQueue.getMessageContent(AbstractQueue.java:3701) ~[classes/:na]
at org.apache.qpid.server.queue.StandardQueueImplWithAccessChecking.getMessageContent(StandardQueueImplWithAccessChecking.java:80) ~[classes/:na]

 

 

 

Other stuff

If I request a messageContent for a message that does not exist, I get 200 with a null response.

 


Test  
   
   


  • No labels