Class ScheduledMessageForwardingProcessor
- java.lang.Object
-
- org.apache.synapse.message.processor.impl.AbstractMessageProcessor
-
- org.apache.synapse.message.processor.impl.ScheduledMessageProcessor
-
- org.apache.synapse.message.processor.impl.forwarder.ScheduledMessageForwardingProcessor
-
- All Implemented Interfaces:
ManagedLifecycle,MessageProcessor,Nameable,SynapseArtifact,org.apache.synapse.task.TaskManagerObserver
public class ScheduledMessageForwardingProcessor extends ScheduledMessageProcessor
Redelivery processor is the Message processor which implements the Dead letter channel EIP It will Time to time Redeliver the Messages to a given target.
-
-
Field Summary
-
Fields inherited from class org.apache.synapse.message.processor.impl.ScheduledMessageProcessor
cronExpression, interval, nonRetryStatusCodes, sender, synapseEnvironment
-
Fields inherited from class org.apache.synapse.message.processor.impl.AbstractMessageProcessor
artifactContainerName, configuration, description, fileName, isEdited, messageConsumers, messageStore, name, parameters, targetEndpoint
-
-
Constructor Summary
Constructors Constructor Description ScheduledMessageForwardingProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.synapse.task.TaskgetTask()Gives theTaskinstance associated with this processor.MessageForwardingProcessorViewgetView()This method is used by back end of the message processorvoidinit(SynapseEnvironment se)This method should implement the initialization of the implemented parts of the configuration.-
Methods inherited from class org.apache.synapse.message.processor.impl.ScheduledMessageProcessor
activate, cleanUpDeactivatedProcessors, cleanupLocalResources, deactivate, destroy, destroy, destroy, getActivated, getIsActivatedParamValue, isActive, isDeactivated, isPaused, isProcessorStartAsDeactivated, isTaskLocationKnown, isThrottling, isThrottling, pauseService, resumeRemotely, resumeService, setParameters, start, stop, update
-
Methods inherited from class org.apache.synapse.message.processor.impl.AbstractMessageProcessor
getArtifactContainerName, getDescription, getFileName, getMessageConsumer, getMessageStoreName, getName, getParameters, getTargetEndpoint, isEdited, setArtifactContainerName, setDescription, setFileName, setIsEdited, setMessageConsumer, setMessageStoreName, setName, setTargetEndpoint
-
-
-
-
Method Detail
-
init
public void init(SynapseEnvironment se)
Description copied from interface:ManagedLifecycleThis method should implement the initialization of the implemented parts of the configuration.- Specified by:
initin interfaceManagedLifecycle- Overrides:
initin classScheduledMessageProcessor- Parameters:
se- SynapseEnvironment to be used for initialization
-
getView
public MessageForwardingProcessorView getView()
This method is used by back end of the message processor- Returns:
- The associated MBean.
-
getTask
protected org.apache.synapse.task.Task getTask()
Description copied from class:ScheduledMessageProcessorGives theTaskinstance associated with this processor.- Specified by:
getTaskin classScheduledMessageProcessor- Returns:
Taskassociated with this processor.
-
-