public class ToBytesMessageConverter extends Object implements IToMessageConverter
Constructor and Description |
---|
ToBytesMessageConverter() |
Modifier and Type | Method and Description |
---|---|
javax.jms.Message |
writeBytesToMessage(javax.jms.Session session,
byte[] message)
Creates message and write
message to message. |
public javax.jms.Message writeBytesToMessage(javax.jms.Session session, byte[] message) throws javax.jms.JMSException
IToMessageConverter
message
to message.writeBytesToMessage
in interface IToMessageConverter
session
- the sessionmessage
- the array of bytesjavax.jms.JMSException
- if error occurredCopyright © 2000–2022 EPAM Systems. All rights reserved.