org.jboss.soa.esb.services.jbpm.integration.msg
Class JmsMessageService

java.lang.Object
  extended by org.jboss.soa.esb.services.jbpm.integration.AbstractJmsJobService
      extended by org.jboss.soa.esb.services.jbpm.integration.msg.JmsMessageService
All Implemented Interfaces:
java.io.Serializable, org.jbpm.msg.MessageService, org.jbpm.svc.Service

public class JmsMessageService
extends AbstractJmsJobService
implements org.jbpm.msg.MessageService

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.soa.esb.services.jbpm.integration.AbstractJmsJobService
log
 
Constructor Summary
JmsMessageService(javax.jms.ConnectionFactory connectionFactory, javax.jms.Destination destination, boolean isCommitEnabled)
          Construct the JMS message service.
 
Method Summary
 void send(org.jbpm.job.Job job)
          Send the job to the job executor.
 
Methods inherited from class org.jboss.soa.esb.services.jbpm.integration.AbstractJmsJobService
close, getJobSession, getMessageProducer, getSession, send
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbpm.msg.MessageService
close
 

Constructor Detail

JmsMessageService

public JmsMessageService(javax.jms.ConnectionFactory connectionFactory,
                         javax.jms.Destination destination,
                         boolean isCommitEnabled)
                  throws javax.jms.JMSException
Construct the JMS message service.

Parameters:
connectionFactory - The associated JMS connection factory.
destination - The JMS destination.
isCommitEnabled - true if commit is to be invoked, false otherwise.
Throws:
javax.jms.JMSException - For JMS errors.
Method Detail

send

public void send(org.jbpm.job.Job job)
Send the job to the job executor.

Specified by:
send in interface org.jbpm.msg.MessageService
Parameters:
job - The job to send.