org.quartz.jobs.ee.jms
Interface JmsMessageFactory


public interface JmsMessageFactory

The JmsMessageFactory interface allows for the creation of a javax.jms.Message. This interface is used in constructing a javax.jms.Message that is to be sent upon execution of a JMS enabled job.

Author:
Weston M. Price
See Also:
SendDestinationMessageJob, SendQueueMessageJob, SendTopicMessageJob

Method Summary
 Message createMessage(JobDataMap jobDataMap, Session session)
          Creates a javax.jms.Message.
 

Method Detail

createMessage

Message createMessage(JobDataMap jobDataMap,
                      Session session)
Creates a javax.jms.Message.

Parameters:
jobDataMap - the JobDataMap
session - the javax.jms.Session
Returns:
the javax.jms.Message


Copyright 2001-2019, Terracotta, Inc.