Interface FailoverMessageForwardingProcessorViewMBean
-
- All Known Implementing Classes:
FailoverMessageForwardingProcessorView
public interface FailoverMessageForwardingProcessorViewMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivate()Activate the Message Processor.voiddeactivate()Deactivate the Message Processor This will stop the processing of Messages.voiddelete(String messageID)Delete the Message with Given idvoiddeleteAll()Delete all the Messages in Message storeStringgetEnvelope(String messageID)Get the SOAP envelope of the given Message with given IDintgetSize()booleanisActive()Get the Status of the Message ProcessorbooleanisTaskLocationKnown()Checks if the task location linked to this Message Processor is knownList<String>messageIdList()Get the Message IDs of all stored Messages in the Message storevoidresend(String messageID)Resend the Message with the given id return false if fail to re try deliver the messagevoidresendAll()try resending all messages stored in the message store.
-
-
-
Method Detail
-
resendAll
void resendAll() throws Exceptiontry resending all messages stored in the message store.- Throws:
Exception
-
deleteAll
void deleteAll() throws ExceptionDelete all the Messages in Message store- Throws:
Exception
-
messageIdList
List<String> messageIdList() throws Exception
Get the Message IDs of all stored Messages in the Message store- Returns:
- a list of message ID values
- Throws:
Exception
-
resend
void resend(String messageID) throws Exception
Resend the Message with the given id return false if fail to re try deliver the message- Parameters:
messageID- ID of the message to be resent- Throws:
Exception
-
delete
void delete(String messageID) throws Exception
Delete the Message with Given id- Parameters:
messageID- ID of the message to be deleted- Throws:
Exception
-
getEnvelope
String getEnvelope(String messageID) throws Exception
Get the SOAP envelope of the given Message with given ID- Parameters:
messageID- ID of the message to be returned- Returns:
- the SOAP envelope content as a string
- Throws:
Exception
-
getSize
int getSize()
- Returns:
- the number of Messages stored in the store.
-
isActive
boolean isActive()
Get the Status of the Message Processor- Returns:
- status of the Processor
-
activate
void activate()
Activate the Message Processor. This will resume processing the Messages if its in deactivated state and reset the Send attempt count.
-
deactivate
void deactivate()
Deactivate the Message Processor This will stop the processing of Messages.
-
isTaskLocationKnown
boolean isTaskLocationKnown()
Checks if the task location linked to this Message Processor is known- Returns:
- true if the task location linked to this Message Processor is known
-
-