org.mule.transport.quartz.jobs
Class ScheduledDispatchJob

java.lang.Object
  extended by org.mule.transport.quartz.jobs.AbstractJob
      extended by org.mule.transport.quartz.jobs.ScheduledDispatchJob
All Implemented Interfaces:
Serializable, org.quartz.Job
Direct Known Subclasses:
StatefulScheduledDispatchJob

public class ScheduledDispatchJob
extends AbstractJob
implements Serializable

Will dispatch the current message to a Mule endpoint at a later time. This job can be used to fire time based events.

See Also:
Serialized Form

Field Summary
protected  Log logger
          The logger used for this class
 
Fields inherited from class org.mule.transport.quartz.jobs.AbstractJob
muleContext
 
Constructor Summary
ScheduledDispatchJob()
           
 
Method Summary
protected  void dispatch(String endpointRef, Object payload, org.quartz.JobDataMap jobDataMap)
           
protected  void doExecute(org.quartz.JobExecutionContext jobExecutionContext)
          Execute the job.
protected  OutboundEndpoint getOutboundEndpoint(String uri)
           
 
Methods inherited from class org.mule.transport.quartz.jobs.AbstractJob
execute, getMuleContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected transient Log logger
The logger used for this class

Constructor Detail

ScheduledDispatchJob

public ScheduledDispatchJob()
Method Detail

doExecute

protected void doExecute(org.quartz.JobExecutionContext jobExecutionContext)
                  throws org.quartz.JobExecutionException
Description copied from class: AbstractJob
Execute the job.

Specified by:
doExecute in class AbstractJob
Throws:
org.quartz.JobExecutionException

dispatch

protected void dispatch(String endpointRef,
                        Object payload,
                        org.quartz.JobDataMap jobDataMap)
                 throws MuleException
Throws:
MuleException

getOutboundEndpoint

protected OutboundEndpoint getOutboundEndpoint(String uri)
                                        throws MuleException
Throws:
MuleException


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.