Class AbstractActiveMQClientDelegate
- java.lang.Object
-
- org.apache.activemq.artemis.junit.AbstractActiveMQClientDelegate
-
- Direct Known Subclasses:
ActiveMQConsumerDelegate,ActiveMQProducerDelegate
public abstract class AbstractActiveMQClientDelegate extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractActiveMQClientDelegate.ActiveMQClientResourceException
-
Constructor Summary
Constructors Constructor Description AbstractActiveMQClientDelegate(String url)AbstractActiveMQClientDelegate(String url, String username, String password)AbstractActiveMQClientDelegate(ServerLocator serverLocator)AbstractActiveMQClientDelegate(ServerLocator serverLocator, String username, String password)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static voidaddMessageProperties(ClientMessage message, Map<String,Object> properties)Adds properties to a ClientMessageprotected abstract voidcreateClient()booleanisAutoCreateQueue()voidsetAutoCreateQueue(boolean autoCreateQueue)protected abstract voidstopClient()
-
-
-
Constructor Detail
-
AbstractActiveMQClientDelegate
public AbstractActiveMQClientDelegate(String url, String username, String password)
-
AbstractActiveMQClientDelegate
public AbstractActiveMQClientDelegate(String url)
-
AbstractActiveMQClientDelegate
public AbstractActiveMQClientDelegate(ServerLocator serverLocator, String username, String password)
-
AbstractActiveMQClientDelegate
public AbstractActiveMQClientDelegate(ServerLocator serverLocator)
-
-
Method Detail
-
addMessageProperties
public static void addMessageProperties(ClientMessage message, Map<String,Object> properties)
Adds properties to a ClientMessage- Parameters:
message-properties-
-
createClient
protected abstract void createClient()
-
stopClient
protected abstract void stopClient()
-
isAutoCreateQueue
public boolean isAutoCreateQueue()
-
setAutoCreateQueue
public void setAutoCreateQueue(boolean autoCreateQueue)
-
-