public abstract class BatchByPersistence extends MessagePersistence
Modifier | Constructor and Description |
---|---|
protected |
BatchByPersistence()
Base class constructor for implementations
|
Modifier and Type | Method and Description |
---|---|
static BatchByPersistence |
getInstance()
Get the batch-by persistence instance.
|
static BatchByPersistence |
initBatchByPersistence(MessagePersistence messagePersistence)
Initialize the batch-by persistence instance.
|
abstract void |
save(Message message,
java.lang.String endpointId)
Save a message to the batch-by persistence table.
|
delete, initMessagePersistence, load, save
protected BatchByPersistence()
public static BatchByPersistence initBatchByPersistence(MessagePersistence messagePersistence)
messagePersistence
- an application context, or null
public static BatchByPersistence getInstance()
public abstract void save(Message message, java.lang.String endpointId)
message
- the message to be savedendpointId
- the endpoint id