public class FailoverMessageForwardingProcessorView extends Object implements FailoverMessageForwardingProcessorViewMBean
| Constructor and Description |
|---|
FailoverMessageForwardingProcessorView(FailoverScheduledMessageForwardingProcessor processor) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activate the Message Processor.
|
void |
deactivate()
Deactivate the Message Processor
This will stop the processing of Messages.
|
void |
delete(String messageID)
Delete the Message with Given id
|
void |
deleteAll()
Delete all the Messages in Message store
|
String |
getEnvelope(String messageID)
Get the SOAP envelope of the given Message with given ID
|
int |
getSize() |
boolean |
isActive()
Get the Status of the Message Processor
|
List<String> |
messageIdList()
Get the Message IDs of all stored Messages in the Message store
|
void |
resend(String messageID)
Resend the Message with the given id
return false if fail to re try deliver the message
|
void |
resendAll()
try resending all messages stored in the message store.
|
public FailoverMessageForwardingProcessorView(FailoverScheduledMessageForwardingProcessor processor) throws Exception
Exceptionpublic void resendAll()
throws Exception
FailoverMessageForwardingProcessorViewMBeanresendAll in interface FailoverMessageForwardingProcessorViewMBeanExceptionpublic void deleteAll()
throws Exception
FailoverMessageForwardingProcessorViewMBeandeleteAll in interface FailoverMessageForwardingProcessorViewMBeanExceptionpublic List<String> messageIdList() throws Exception
FailoverMessageForwardingProcessorViewMBeanmessageIdList in interface FailoverMessageForwardingProcessorViewMBeanExceptionpublic void resend(String messageID) throws Exception
FailoverMessageForwardingProcessorViewMBeanresend in interface FailoverMessageForwardingProcessorViewMBeanmessageID - ID of the message to be resentExceptionpublic void delete(String messageID) throws Exception
FailoverMessageForwardingProcessorViewMBeandelete in interface FailoverMessageForwardingProcessorViewMBeanmessageID - ID of the message to be deletedExceptionpublic String getEnvelope(String messageID) throws Exception
FailoverMessageForwardingProcessorViewMBeangetEnvelope in interface FailoverMessageForwardingProcessorViewMBeanmessageID - ID of the message to be returnedExceptionpublic int getSize()
getSize in interface FailoverMessageForwardingProcessorViewMBeanpublic boolean isActive()
FailoverMessageForwardingProcessorViewMBeanisActive in interface FailoverMessageForwardingProcessorViewMBeanpublic void activate()
FailoverMessageForwardingProcessorViewMBeanactivate in interface FailoverMessageForwardingProcessorViewMBeanpublic void deactivate()
FailoverMessageForwardingProcessorViewMBeandeactivate in interface FailoverMessageForwardingProcessorViewMBeanCopyright © 2005–2019 Apache Software Foundation. All rights reserved.