org.jbpm.jpdl.internal.activity
Class JmsActivity

java.lang.Object
  extended by org.jbpm.jpdl.internal.activity.JpdlActivity
      extended by org.jbpm.jpdl.internal.activity.JpdlAutomaticActivity
          extended by org.jbpm.jpdl.internal.activity.JmsActivity
All Implemented Interfaces:
java.io.Serializable, ActivityBehaviour, EventListener

public class JmsActivity
extends JpdlAutomaticActivity

Author:
Koen Aers, Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  int acknowledgeMode
           
protected  java.lang.String connectionFactoryName
           
protected  java.lang.String destinationName
           
protected  MapDescriptor mapDescriptor
           
protected  Expression objectExpression
           
protected  Expression textExpression
           
protected  boolean transacted
           
protected  java.lang.String type
           
 
Fields inherited from class org.jbpm.jpdl.internal.activity.JpdlActivity
dbid
 
Constructor Summary
JmsActivity()
           
 
Method Summary
protected  javax.jms.Message createMessage(javax.jms.Session session, ExecutionImpl execution)
           
 int getAcknowledgeMode()
           
 boolean isTransacted()
           
 void perform(OpenExecution execution)
           
protected  void sendToQueue(javax.jms.Queue queue, javax.jms.QueueConnectionFactory queueConnectionFactory, ExecutionImpl execution)
           
protected  void sendToQueueXA(javax.jms.Queue queue, javax.jms.XAQueueConnectionFactory xaQueueConnectionFactory, ExecutionImpl execution)
           
protected  void sendToTopic(javax.jms.Topic topic, javax.jms.TopicConnectionFactory topicConnectionFactory, ExecutionImpl execution)
           
protected  void sendToTopicXA(javax.jms.Topic topic, javax.jms.XATopicConnectionFactory xaTopicConnectionFactory, ExecutionImpl execution)
           
 void setAcknowledgeMode(int acknowledgeMode)
           
 void setConnectionFactoryName(java.lang.String connectionFactoryName)
           
 void setDestinationName(java.lang.String destinationName)
           
 void setMapDescriptor(MapDescriptor mapDescriptor)
           
 void setObjectExpression(Expression objectExpression)
           
 void setTextExpression(Expression textExpression)
           
 void setTransacted(boolean transacted)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class org.jbpm.jpdl.internal.activity.JpdlAutomaticActivity
execute, notify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected java.lang.String type

textExpression

protected Expression textExpression

objectExpression

protected Expression objectExpression

mapDescriptor

protected MapDescriptor mapDescriptor

connectionFactoryName

protected java.lang.String connectionFactoryName

destinationName

protected java.lang.String destinationName

transacted

protected boolean transacted

acknowledgeMode

protected int acknowledgeMode
Constructor Detail

JmsActivity

public JmsActivity()
Method Detail

perform

public void perform(OpenExecution execution)

sendToQueueXA

protected void sendToQueueXA(javax.jms.Queue queue,
                             javax.jms.XAQueueConnectionFactory xaQueueConnectionFactory,
                             ExecutionImpl execution)
                      throws java.lang.Exception
Throws:
java.lang.Exception

sendToTopicXA

protected void sendToTopicXA(javax.jms.Topic topic,
                             javax.jms.XATopicConnectionFactory xaTopicConnectionFactory,
                             ExecutionImpl execution)
                      throws java.lang.Exception
Throws:
java.lang.Exception

sendToQueue

protected void sendToQueue(javax.jms.Queue queue,
                           javax.jms.QueueConnectionFactory queueConnectionFactory,
                           ExecutionImpl execution)
                    throws java.lang.Exception
Throws:
java.lang.Exception

sendToTopic

protected void sendToTopic(javax.jms.Topic topic,
                           javax.jms.TopicConnectionFactory topicConnectionFactory,
                           ExecutionImpl execution)
                    throws java.lang.Exception
Throws:
java.lang.Exception

createMessage

protected javax.jms.Message createMessage(javax.jms.Session session,
                                          ExecutionImpl execution)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

setType

public void setType(java.lang.String type)

setTextExpression

public void setTextExpression(Expression textExpression)

setObjectExpression

public void setObjectExpression(Expression objectExpression)

setMapDescriptor

public void setMapDescriptor(MapDescriptor mapDescriptor)

setConnectionFactoryName

public void setConnectionFactoryName(java.lang.String connectionFactoryName)

setDestinationName

public void setDestinationName(java.lang.String destinationName)

isTransacted

public boolean isTransacted()

setTransacted

public void setTransacted(boolean transacted)

getAcknowledgeMode

public int getAcknowledgeMode()

setAcknowledgeMode

public void setAcknowledgeMode(int acknowledgeMode)


Copyright © 2010 JBoss Community. All Rights Reserved.