org.apache.activemq.tool.properties
Class JmsConsumerProperties

java.lang.Object
  extended by org.apache.activemq.tool.properties.AbstractObjectProperties
      extended by org.apache.activemq.tool.properties.JmsClientProperties
          extended by org.apache.activemq.tool.properties.JmsConsumerProperties
All Implemented Interfaces:
ReflectionConfigurable

public class JmsConsumerProperties
extends JmsClientProperties


Field Summary
protected  boolean asyncRecv
           
static String COUNT_BASED_RECEIVING
           
protected  boolean durable
           
protected  String messageSelector
           
protected  long recvCount
           
protected  long recvDelay
           
protected  long recvDuration
           
protected  String recvType
           
static String TIME_BASED_RECEIVING
           
protected  boolean unsubscribe
           
 
Fields inherited from class org.apache.activemq.tool.properties.JmsClientProperties
commitAfterXMsgs, destComposite, destName, jmsProperties, jmsProvider, jmsVersion, sessAckMode, SESSION_AUTO_ACKNOWLEDGE, SESSION_CLIENT_ACKNOWLEDGE, SESSION_DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED, sessTransacted
 
Constructor Summary
JmsConsumerProperties()
           
 
Method Summary
 String getMessageSelector()
           
 long getRecvCount()
           
 long getRecvDelay()
           
 long getRecvDuration()
           
 String getRecvType()
           
 boolean isAsyncRecv()
           
 boolean isDurable()
           
 boolean isUnsubscribe()
           
 void setAsyncRecv(boolean asyncRecv)
           
 void setDurable(boolean durable)
           
 void setMessageSelector(String selector)
           
 void setRecvCount(long recvCount)
           
 void setRecvDelay(long delay)
           
 void setRecvDuration(long recvDuration)
           
 void setRecvType(String recvType)
           
 void setUnsubscribe(boolean unsubscribe)
           
 
Methods inherited from class org.apache.activemq.tool.properties.JmsClientProperties
getCommitAfterXMsgs, getDestName, getJmsProperties, getJmsProvider, getJmsVersion, getSessAckMode, isDestComposite, isSessTransacted, setCommitAfterXMsgs, setDestComposite, setDestName, setJmsProperties, setJmsProvider, setJmsVersion, setSessAckMode, setSessTransacted
 
Methods inherited from class org.apache.activemq.tool.properties.AbstractObjectProperties
acceptConfig, configureProperties, retrieveProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIME_BASED_RECEIVING

public static final String TIME_BASED_RECEIVING
See Also:
Constant Field Values

COUNT_BASED_RECEIVING

public static final String COUNT_BASED_RECEIVING
See Also:
Constant Field Values

durable

protected boolean durable

unsubscribe

protected boolean unsubscribe

asyncRecv

protected boolean asyncRecv

recvCount

protected long recvCount

recvDuration

protected long recvDuration

recvDelay

protected long recvDelay

recvType

protected String recvType

messageSelector

protected String messageSelector
Constructor Detail

JmsConsumerProperties

public JmsConsumerProperties()
Method Detail

isDurable

public boolean isDurable()

setDurable

public void setDurable(boolean durable)

isUnsubscribe

public boolean isUnsubscribe()

setUnsubscribe

public void setUnsubscribe(boolean unsubscribe)

isAsyncRecv

public boolean isAsyncRecv()

setAsyncRecv

public void setAsyncRecv(boolean asyncRecv)

getRecvCount

public long getRecvCount()

setRecvCount

public void setRecvCount(long recvCount)

getRecvDuration

public long getRecvDuration()

setRecvDuration

public void setRecvDuration(long recvDuration)

getRecvType

public String getRecvType()

setRecvType

public void setRecvType(String recvType)

setRecvDelay

public void setRecvDelay(long delay)

getRecvDelay

public long getRecvDelay()

getMessageSelector

public String getMessageSelector()

setMessageSelector

public void setMessageSelector(String selector)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.