public class MessageForwardingProcessorView extends Object implements MessageForwardingProcessorViewMBean
Constructor and Description |
---|
MessageForwardingProcessorView(MessageStore messageStore,
Axis2BlockingClient sender,
ScheduledMessageForwardingProcessor 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 via associated endpoints.
|
public MessageForwardingProcessorView(MessageStore messageStore, Axis2BlockingClient sender, ScheduledMessageForwardingProcessor processor)
public void resendAll() throws Exception
MessageForwardingProcessorViewMBean
resendAll
in interface MessageForwardingProcessorViewMBean
Exception
public void deleteAll() throws Exception
MessageForwardingProcessorViewMBean
deleteAll
in interface MessageForwardingProcessorViewMBean
Exception
public List<String> messageIdList() throws Exception
MessageForwardingProcessorViewMBean
messageIdList
in interface MessageForwardingProcessorViewMBean
Exception
public void resend(String messageID) throws Exception
MessageForwardingProcessorViewMBean
resend
in interface MessageForwardingProcessorViewMBean
messageID
- ID of the message to be resentException
public void delete(String messageID) throws Exception
MessageForwardingProcessorViewMBean
delete
in interface MessageForwardingProcessorViewMBean
messageID
- ID of the message to be deletedException
public String getEnvelope(String messageID) throws Exception
MessageForwardingProcessorViewMBean
getEnvelope
in interface MessageForwardingProcessorViewMBean
messageID
- ID of the message to be returnedException
public int getSize()
getSize
in interface MessageForwardingProcessorViewMBean
public boolean isActive()
MessageForwardingProcessorViewMBean
isActive
in interface MessageForwardingProcessorViewMBean
public void activate()
MessageForwardingProcessorViewMBean
activate
in interface MessageForwardingProcessorViewMBean
public void deactivate()
MessageForwardingProcessorViewMBean
deactivate
in interface MessageForwardingProcessorViewMBean
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.