Skip to content

Commit b36adf4

Browse files
committed
Document conversion for AMQP 1.0 decimal type to AMQP 0.9.1
Docs for rabbitmq/rabbitmq-server#14209
1 parent 1955439 commit b36adf4

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

docs/conversions.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -107,26 +107,27 @@ A conversion from AMQP to AMQP 0.9.1 takes place if the message is consumed with
107107

108108
### Type Conversions {#amqp-amqpl-types}
109109

110-
| AMQP 1.0 type | Condition | AMQP 0.9.1 type | Comment |
111-
| ------------- | ------------ | -------------------- | --------------------------------------------------- |
112-
| utf8 (string) | | longstr | RabbitMQ does not support shortstr header values so all utf8 inputs are converted to longstr unless it is a field in the basic properties |
113-
| binary | | binary | |
114-
| long | | long | |
115-
| ulong | | long | risk of overflow |
116-
| ubyte | | unsignedbyte | |
117-
| short | | short | |
118-
| ushort | | usignedshort | |
119-
| uint | | unsignedint | |
120-
| int | | signedint | |
121-
| double | | double | |
122-
| float | | float | |
123-
| boolean | | bool | |
124-
| timestamp | | timestamp (seconds) | value divided by 1000 |
125-
| byte | | byte | |
126-
| null | | void | |
127-
| list | | array | |
128-
| map | | table | |
129-
| symbol | | longstr |
110+
| AMQP 1.0 type | Condition | AMQP 0.9.1 type | Comment |
111+
| ------------- | ------------------- | -------------------- | --------------------------------------------------- |
112+
| utf8 (string) | | longstr | RabbitMQ does not support shortstr header values so all utf8 inputs are converted to longstr unless it is a field in the basic properties |
113+
| binary | | binary | |
114+
| long | | long | |
115+
| ulong | | long | risk of overflow |
116+
| ubyte | | unsignedbyte | |
117+
| short | | short | |
118+
| ushort | | usignedshort | |
119+
| uint | | unsignedint | |
120+
| int | | signedint | |
121+
| double | neither NaN nor Inf | double | |
122+
| float | neither NaN nor Inf | float | |
123+
| decimal | | | Message annotations or application properties whose values are of type decimal32, decimal64 or decimal128 are not converted |
124+
| boolean | | bool | |
125+
| timestamp | | timestamp (seconds) | value divided by 1000 |
126+
| byte | | byte | |
127+
| null | | void | |
128+
| list | | array | |
129+
| map | | table | |
130+
| symbol | | longstr |
130131

131132

132133
## AMQP 0.9.1 -> AMQP 1.0 {#amqpl-amqp}

0 commit comments

Comments
 (0)