Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(TypedBytesContentWriter is distinct from AMQP value system
Test CaseProtocol 0-9/0-10
Content TypeOn screen previewContent Download
small text messagetext/plaincomplete string valueditto preview
large text messagetext/plaintruncated string valuecomplete string value
small map message (default)amqp/mapTable containing name/value pairs
Bytes Map entry with bytes array value is base64 encoded encoded 
The map's contents encoded as a AMQP 0-10 map

 

large map message (default)amqp/mapError popup 'unknown code 67'
No preview displayed.
Broker survives. Stack trace (1)Ditto above
small map message (legacy)jms/map-message
Table containing name/value pairs
Bytes Map entry with bytes array value is base64 encoded encoded 

Each written value is encoded by the TypedBytesContentWriter

(2)

large map message (legacy)jms/map-message
Table containing name/value pairs
Bytes Map entry with bytes array value is list array of ints.Ditto above
small stream messageamqp/listTable containing list values

The list's contents encoded as a AMQP 0-10 list

large stream messageamqp/listError popup 'unknown code 67'
No preview displayed.
Broker survives. Stack trace (1)Ditto above
small stream message (default - legacy)jms/stream-messageNo preview

Each written value is encoded by the TypedBytesContentWrite

large stream message (default - legacy)jms/stream-messageNo previewDitto above
small object messageapplication/java-object-streamNo previewSerialised object bytes
large object messageapplication/java-object-streamNo previewSerialised object bytes

large pdf file

application/octet-streamNo previewthe pdf file.

...

No Format
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]

 

(2) TypedBytesContentWriter is distinct from AMQP value system)

Other stuff

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

...