public class StompEncoder extends Object
StompDecoder
Constructor and Description |
---|
StompEncoder() |
Modifier and Type | Method and Description |
---|---|
byte[] |
encode(Map<String,Object> headers,
byte[] payload)
Encodes the given payload and headers into a
byte[] . |
byte[] |
encode(Message<byte[]> message)
Encodes the given STOMP
message into a byte[] |
public byte[] encode(Message<byte[]> message)
message
into a byte[]
message
- the message to encode