public interface MessageHistoryService
consume(String, int) will update a heartbeat in Mule Agent.| Modifier and Type | Method and Description |
|---|---|
MessageHistory |
consume(String applicationName,
int chunkSize)
Consumes the transactions that were buffered by the Mule Agent until this moment for the given application.
|
void |
disable(String applicationName)
Disables the message history functionality for the given application.
|
void |
enable(String applicationName)
Enables the message history functionality for the given application.
|
void enable(String applicationName) throws NoSuchApplicationException
consume(String, int) method would
retrieve the transactions collected.applicationName - a name to be used when deploying the application for collecting notificationsNoSuchApplicationException - if the application to be enable for try it is not already deployed.MessageHistory consume(String applicationName, int chunkSize)
applicationName - the application name to get its notificationschunkSize - the maximum amount of notifications to be returnedList of notificationsvoid disable(String applicationName)
applicationName - the application name to be disabledCopyright © 2020 MuleSoft, Inc.. All rights reserved.