Versions Compared

Key

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

...

AMQP 0-10 message

AMQP 0-9 message

Implemented

 

Property origin

Property name

Type

Section name

Property name

Type

Comments

delivery-properties

delivery-mode

uint8

message property

delivery mode

octet

 

Y

delivery-properties

priority

uint8

message property

priority

octet

 

Y

delivery-properties

ttl

uint64

message property

expiration

short-string

the 'ttl' delivery-property takes precedence over 'expiration'

Y

delivery-propertiesexpiration

datetime

message property

expiration

short-stringthe 'ttl' delivery-property takes precedence over 'expiration'Y

delivery-properties

timestamp

datetime

message property

timestamp

long

 

Y

delivery-properties

redelivered

bit

     

delivery-properties

routing-key

str8

basic.publish

routing-key

short-string Y

delivery-properties

exchange

str8

basic.publishexchangeshort-string Y

delivery-properties

immediate

bit

basic.publish

immediate

bit

 

Y

delivery-properties

discard-unroutable

bit

basic.publish

mandatorybit Y

message-properties

content-type

str8

message property

content type

short-string

 

Y

message-properties

content-encoding

str8

message property

encoding

short-string

 

Y

message-properties

message-id

uuid

message property

message id

short-string

 

Y

message-properties

correlation-id

vbin16

message property

correlation id

short-string

 

Y

message-properties

user-id

vbin16

message property

user id

short-string 

if conversion to AMQShortString fails the field is not set

Y

message-properties

reply-to

reply-to

message property

reply to

short-string 

if conversion to AMQShortString fails the MessageConversionException is thrown

Y

message-properties

app-id

vbin16

message property

application-id

short-string

if conversion to AMQShortString fails the field is not set

Y

message-properties

application-headers

map

message property

headersfield-table

 

Y

message-properties

content-length

uint64

 

 

 

 

 

message-propertiesapplication-headers['x-jms-type']str16message propertytypeshort stringthrow MessageConversionException if it does not fit into short stringY

...

AMQP 1-0 message

AMQP 0-8...0-9-1 message

 

 

 

Implemented

 

Section name

Property name

Type

Properties

Property name

Type

Comments

header

durable

boolean

message property

delivery mode

unsigned byte

 

Y

header

priority

unsigned byte

message property

priority

unsigned byte

 

Y

header

ttl

milliseconds/ulonguint

message property

expiration

short-string 

'absolute-expiry-time' takes precedence over 'ttl'

Y

headerproperties

absolute-expiry-time

timestamp /ulong

 message property 

expiration

 

 

short-string

'absolute-expiry-time' takes precedence over 'ttl'

Y 

header

delivery-count

uint

 

 

 

 

 

header

first-acquirer

boolean

 

 

 

 

 

message-annotation

x-opt-jms-msg-type

byte

message property

content type

short-string

 

N

headercontent-typesymbol     

properties

content-encoding

symbol

message property

encoding

short-string

MCE is thrown on content-encoding length > 255

Y

properties

message-id

binary, uuid, ulong, string

message property

message id

short-string 

if conversion to AMQShortString fails the field is not set

Y

properties

correlation-id

binary

message property

correlation id

short-string 

if conversion to AMQShortString fails the MCE is thrown

Y

properties

user-id

binary

message property

user id

short-string 

if conversion to AMQShortString fails the field is not set

Y

properties

reply-to

string

message property

reply to

short-string

 

Y

if conversion to AMQShortString fails the MCE is thrown

if global address (starts with '/'), the MCE is thrown


Y

properties

creation-

properties

creation-time

timestamp /ulong

message property

timestamp

long

 

if creation-time is not set arrival time will be used

YN

properties

subject

string

message property

headers['qpid.subject']

long-string

 

Y

properties

subject

string

message property

typeshort-stringMCE is thrown on subject length > 255Y
propertiessubjectstringpublish propertyrouting-keyshort-stringMCE is thrown on subject length > 255Y

properties

group-id

string

message property

headers['JMSXGroupID']

long-string

 

specified in JMS bindmap

YN

properties

group-sequence

sequence number

message property

headers['JMSXGroupSeq']

int

 

specified in JMS bindmap

YN

properties

to

string

 

 

 

exchange/routing-key

basic.publish

exchange, routingKey

short string

if 'to' starts with "/" throw MCE
else if 'to' contains "/" split on first "/" and set exchange to first and routingKey to second part
else if 'to' refers to an existing queue set exchange to the empty string and routingKey to the queue name
else assume 'to' refers to an exchange and set it and set the routingKey to the empty string

Throw MCE if exchange or routingKey conversion to AMQShortString fails

YN

application-properties

*

*

message property

headers

field-table

 

Y

application-properties

cluster-id

string

message property

cluster-id

short-string

 

N

If conversion fails a MCE is thrown

Y

application-properties

application-id

string

message property

application-id

short-string

 

N

AMQP 1-0 message properties conversion into AMQP 0-10 message properties

...