Modifier and Type | Field and Description |
---|---|
static byte |
ID |
static CoreMessagePersister |
theInstance |
Modifier | Constructor and Description |
---|---|
protected |
CoreMessagePersister() |
Modifier and Type | Method and Description |
---|---|
Message |
decode(ActiveMQBuffer buffer,
Message record) |
void |
encode(ActiveMQBuffer buffer,
Message record)
Sub classes must add the first short as the protocol-id
|
int |
getEncodeSize(Message record) |
byte |
getID()
This is to be used to store the protocol-id on Messages.
|
static CoreMessagePersister |
getInstance() |
public static final byte ID
public static CoreMessagePersister theInstance
public static CoreMessagePersister getInstance()
public byte getID()
Persister
public int getEncodeSize(Message record)
getEncodeSize
in interface Persister<Message>
public void encode(ActiveMQBuffer buffer, Message record)
Copyright © 2018 JBoss by Red Hat. All rights reserved.