Este conteúdo não está disponível no idioma selecionado.
2.4. Message Encoding
Message body type Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
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 Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
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.