Red Hat AMQ 6
As of February 2025, Red Hat is no longer supporting Red Hat AMQ 6. If you are using AMQ 6, please upgrade: Migrating to AMQ 7.이 콘텐츠는 선택한 언어로 제공되지 않습니다.
2.4. Message Encoding
Message body type 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
JMS defines five message body types:
StreamMessage
MapMessage
TextMessage
ObjectMessage
BytesMessage
Of these message types,
BytesMessage
(a stream of uninterpreted bytes) is the fastest, while ObjectMessage
(serialization of a Java object) is the slowest.
Encoding recommendation 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
For best performance, therefore, it is recommended that you use
BytesMessage
whenever possible. We suggest that you use Google's Protobuf, which has excellent performance characteristics.