Class SendQueueMessageJob

  extended by
All Implemented Interfaces:

public final class SendQueueMessageJob
extends Object
implements Job

A Job that sends a javax.jms.Message to a javax.jms.Queue. This class is for older JMS. If you are using JMS 1.1, you should use SendDestinationMessageJob instead.

The following properties are expected to be provided in the JobDataMap:

The following properties are optional

The following properties can be used for JNDI support:

Weston M. Price (little fixes v. in 1.6.0 by Toni Alatalo)
See Also:

Constructor Summary
Method Summary
 void execute(JobExecutionContext jobCtx)
           Called by the Scheduler when a Trigger fires that is associated with the Job.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SendQueueMessageJob()
Method Detail


public void execute(JobExecutionContext jobCtx)
             throws JobExecutionException
Description copied from interface: Job

Called by the Scheduler when a Trigger fires that is associated with the Job.

The implementation may wish to set a result object on the JobExecutionContext before this method exits. The result itself is meaningless to Quartz, but may be informative to JobListeners or TriggerListeners that are watching the job's execution.

Specified by:
execute in interface Job
JobExecutionException - if there is an exception while executing the job.

Copyright 2001-2013, Terracotta, Inc.