Search in sources :

Example 1 with HistoryMessageClearTask

use of org.apache.eventmesh.connector.standalone.broker.task.HistoryMessageClearTask in project incubator-eventmesh by apache.

the class StandaloneBroker method startHistoryMessageCleanTask.

private void startHistoryMessageCleanTask() {
    Thread thread = new Thread(new HistoryMessageClearTask(messageContainer));
    thread.setDaemon(true);
    thread.setName("StandaloneBroker-HistoryMessageCleanTask");
    thread.start();
}
Also used : HistoryMessageClearTask(org.apache.eventmesh.connector.standalone.broker.task.HistoryMessageClearTask)

Aggregations

HistoryMessageClearTask (org.apache.eventmesh.connector.standalone.broker.task.HistoryMessageClearTask)1