站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.1.3 API 英文版文档

JmsMessageServiceImpl (jbpm-3.1.3) - JBoss JBPM 3.1.3 API 英文版文档


org.jbpm.msg.jms
Class JmsMessageServiceImpl

java.lang.Object
  extended by org.jbpm.msg.jms.JmsMessageServiceImpl
All Implemented Interfaces:
java.io.Serializable, MessageService, Service

public class JmsMessageServiceImpl
extends java.lang.Object
implements MessageService

See Also:
Serialized Form

Constructor Summary
JmsMessageServiceImpl(javax.jms.Connection connection, javax.jms.Session session, javax.jms.Destination destination, boolean isCommitEnabled)
           
 
Method Summary
 void close()
           
 boolean hasMessages()
           
 Message receiveByIdNoWait(long id)
           
 Message receiveNoWait()
           
 void resumeMessages(Token token)
           
 void send(Message message)
           
 void suspendMessages(Token token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsMessageServiceImpl

public JmsMessageServiceImpl(javax.jms.Connection connection,
                             javax.jms.Session session,
                             javax.jms.Destination destination,
                             boolean isCommitEnabled)
Method Detail

send

public void send(Message message)
Specified by:
send in interface MessageService

close

public void close()
Specified by:
close in interface MessageService
Specified by:
close in interface Service

suspendMessages

public void suspendMessages(Token token)
Specified by:
suspendMessages in interface MessageService

resumeMessages

public void resumeMessages(Token token)
Specified by:
resumeMessages in interface MessageService

hasMessages

public boolean hasMessages()

receiveNoWait

public Message receiveNoWait()

receiveByIdNoWait

public Message receiveByIdNoWait(long id)


Version : jbpm-3.1.3