Class JmsConsumerProperties
- java.lang.Object
-
- org.apache.activemq.tool.properties.AbstractObjectProperties
-
- org.apache.activemq.tool.properties.JmsClientProperties
-
- org.apache.activemq.tool.properties.JmsConsumerProperties
-
- All Implemented Interfaces:
ReflectionConfigurable
public class JmsConsumerProperties extends JmsClientProperties
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description JmsConsumerProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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
-
-
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)
-
-