@Service @ManagedResource(objectName="org.openhubframework.openhub.core.monitoring:name=MessagesAdmin", description="Message Administration") public class MessageAdminOperations extends Object
Constructor and Description |
---|
MessageAdminOperations() |
Modifier and Type | Method and Description |
---|---|
void |
cancelMessage(long msgId) |
void |
repairProcessingMessages() |
void |
restartMessage(long msgId,
boolean totalRestart) |
void |
startNextProcessing() |
@ManagedOperation(description="Restarts message for next processing. totalRestart parameter determines if message should start from scratch again (true) or if message should continue when it failed (false).") public void restartMessage(long msgId, boolean totalRestart)
@ManagedOperation(description="Cancels next message processing, sets message to CANCEL state.") public void cancelMessage(long msgId)
@ManagedOperation(description="Starts next processing of PARTLY_FAILED and POSTPONED messages.") public void startNextProcessing() throws Exception
Exception
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.