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

java.lang.Object
  extended by org.jboss.soa.esb.services.jbpm.integration.AbstractJmsServiceFactory
      extended by org.jboss.soa.esb.services.jbpm.integration.msg.JmsMessageServiceFactory
All Implemented Interfaces:
java.io.Serializable, org.jbpm.svc.ServiceFactory

public final class JmsMessageServiceFactory
extends AbstractJmsServiceFactory

Based on the jBPM JmsMessageServiceFactory, this service delivers messages to the job/command listeners over JCA/JMS inflow.

Configuration

The JMS message service factory exposes the following configurable fields.

Author:
Tom Baeyens, Alejandro Guizar
See Also:
Serialized Form

Constructor Summary
JmsMessageServiceFactory()
          Construct the JMS message service factory.
 
Method Summary
 void close()
          Close this factory.
 javax.jms.Destination getCommandDestination()
          Get the jBPM command queue destination associated with this message service.
 javax.jms.Destination getDestination()
          Get the jBPM job queue destination associated with this message service.
 javax.jms.Destination getDLQDestination()
          Get the jBPM dlq destination associated with this message service.
 org.jbpm.svc.Service openService()
          Create a JMS message service based on this factory.
 
Methods inherited from class org.jboss.soa.esb.services.jbpm.integration.AbstractJmsServiceFactory
getConnectionFactory, getProvider, isCommitEnabled, lookup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsMessageServiceFactory

public JmsMessageServiceFactory()
Construct the JMS message service factory.

Method Detail

getDestination

public javax.jms.Destination getDestination()
Get the jBPM job queue destination associated with this message service.

Returns:
The associated jBPM job queue.

getCommandDestination

public javax.jms.Destination getCommandDestination()
Get the jBPM command queue destination associated with this message service.

Returns:
The associated jBPM command queue.

getDLQDestination

public javax.jms.Destination getDLQDestination()
Get the jBPM dlq destination associated with this message service.

Returns:
The associated jBPM dlq.

openService

public org.jbpm.svc.Service openService()
Create a JMS message service based on this factory.


close

public void close()
Close this factory.

Specified by:
close in interface org.jbpm.svc.ServiceFactory
Overrides:
close in class AbstractJmsServiceFactory