public class Consumer extends DestAbstract
brokerURL, password, user
context, verbose
Constructor and Description |
---|
Consumer() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(ActionContext context) |
String |
getFile() |
String |
getFilter() |
int |
getReceiveTimeout() |
boolean |
isBreakOnNull() |
boolean |
isDurable() |
Consumer |
setBreakOnNull(boolean breakOnNull) |
Consumer |
setDurable(boolean durable) |
Consumer |
setFile(String file) |
Consumer |
setFilter(String filter) |
Consumer |
setReceiveTimeout(int receiveTimeout) |
getDestination, getDestination, getMessageCount, getMessageSerializer, getSerializer, getSleep, getThreads, getTxBatchSize, setDestination, setMessageCount, setSerializer, setSleep, setThreads, setTxBatchSize
createConnectionFactory, createCoreConnectionFactory, getClientID, getPassword, getProtocol, getUser, setClientID, setPassword, setProtocol, setUser
enableInput, input, input, inputBoolean, inputPassword, isSilentInput, setSilentInput
checkOptions, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, isVerbose, setHomeValues
public Object execute(ActionContext context) throws Exception
execute
in interface Action
execute
in class ConnectionAbstract
Exception
public boolean isDurable()
public Consumer setDurable(boolean durable)
public boolean isBreakOnNull()
public Consumer setBreakOnNull(boolean breakOnNull)
public int getReceiveTimeout()
public Consumer setReceiveTimeout(int receiveTimeout)
public String getFilter()
public String getFile()
Copyright © 2021 JBoss by Red Hat. All rights reserved.