org.apache.synapse.message.processors.forward
Class ScheduledMessageForwardingProcessor
java.lang.Object
org.apache.synapse.message.processors.AbstractMessageProcessor
org.apache.synapse.message.processors.ScheduledMessageProcessor
org.apache.synapse.message.processors.forward.ScheduledMessageForwardingProcessor
- All Implemented Interfaces:
- ManagedLifecycle, MessageProcessor, Nameable, SynapseArtifact
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLOCKING_SENDER
public static final String BLOCKING_SENDER
- See Also:
- Constant Field Values
ScheduledMessageForwardingProcessor
public ScheduledMessageForwardingProcessor()
init
public void init(SynapseEnvironment se)
- Description copied from interface:
ManagedLifecycle
- This method should implement the initialization of the
implemented parts of the configuration.
- Specified by:
init
in interface ManagedLifecycle
- Overrides:
init
in class ScheduledMessageProcessor
- Parameters:
se
- SynapseEnvironment to be used for initialization
getJobDetail
protected org.quartz.JobDetail getJobDetail()
- Specified by:
getJobDetail
in class ScheduledMessageProcessor
getJobDataMap
protected org.quartz.JobDataMap getJobDataMap()
- Overrides:
getJobDataMap
in class ScheduledMessageProcessor
getSender
public BlockingMessageSender getSender()
setSender
public void setSender(BlockingMessageSender sender)
isActive
public boolean isActive()
activate
public void activate()
deactivate
public void deactivate()
getSendAttemptCount
public int getSendAttemptCount()
incrementSendAttemptCount
public void incrementSendAttemptCount()
resetSentAttemptCount
public void resetSentAttemptCount()
destroy
public void destroy()
- Description copied from interface:
ManagedLifecycle
- This method should implement the destroying of the
implemented parts of the configuration.
- Specified by:
destroy
in interface ManagedLifecycle
- Overrides:
destroy
in class ScheduledMessageProcessor
getView
public MessageForwardingProcessorView getView()
- Return the JMS view of Message Processor
- Returns:
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.