Havret opened a new issue, #106:
URL: https://github.com/apache/activemq-nms-amqp/issues/106

   **Description:**
   When setting JMS destination type annotations (x-opt-jms-dest, 
x-opt-jms-reply-to) on AMQP messages, NMS.AMQP encodes the annotation value as 
an unsigned byte (ubyte, AMQP type code 0x60) instead of a signed byte (byte, 
AMQP type code 0x51).
   
   The AMQP 1.0 spec (section 1.6.7) defines the byte primitive type as a 
signed 8-bit two's-complement integer (range -128 to 127 - equivalent to Java's 
byte and C#'s sbyte). The JMS mapping spec requires that the destination type 
annotation value must be of type byte. C#'s built-in byte is unsigned, so 
MessageSupport.JMS_DEST_TYPE_* constants and the ToTypeAnnotation helper were 
returning ubyte values on the wire.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to