org.mactor.framework.spec
Class MessageReceiveSpec
java.lang.Object
org.mactor.framework.spec.SpecNode
org.mactor.framework.spec.ContainerSpec
org.mactor.framework.spec.MessageReceiveSpec
public class MessageReceiveSpec
- extends ContainerSpec
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageReceiveSpec
public MessageReceiveSpec()
getType
public java.lang.String getType()
- Specified by:
getType
in class SpecNode
hasResponseNode
public boolean hasResponseNode()
getMessageSubscribeNodeName
public java.lang.String getMessageSubscribeNodeName()
getMaxTimeoutSeconds
public int getMaxTimeoutSeconds()
getMaxMessageCount
public int getMaxMessageCount()
getMinMessageCount
public int getMinMessageCount()
isBlockUntilTimeout
public boolean isBlockUntilTimeout()
loadSpec
public static MessageReceiveSpec loadSpec(org.dom4j.Element element)
throws MactorException
- Throws:
MactorException
addToElement
public org.dom4j.Element addToElement(org.dom4j.Element parent)
- Specified by:
addToElement
in class SpecNode
getShortDescription
public java.lang.String getShortDescription()
- Specified by:
getShortDescription
in class SpecNode
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in class SpecNode
setBlockUntilTimeout
public void setBlockUntilTimeout(boolean blockUntilTimeout)
setMaxMessageCount
public void setMaxMessageCount(int maxMessageCount)
setMaxTimeoutSeconds
public void setMaxTimeoutSeconds(int maxTimeoutSeconds)
setMessageSubscribeNodeName
public void setMessageSubscribeNodeName(java.lang.String messageSubscribeNodeName)
setMinMessageCount
public void setMinMessageCount(int minMessageCount)
Copyright © 2008. All Rights Reserved.