public abstract class AbstractActiveMQClientResource
extends org.junit.rules.ExternalResource
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractActiveMQClientResource.ActiveMQClientResourceException |
| Constructor and Description |
|---|
AbstractActiveMQClientResource(org.apache.activemq.artemis.api.core.client.ServerLocator serverLocator) |
AbstractActiveMQClientResource(String url) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addMessageProperties(org.apache.activemq.artemis.api.core.client.ClientMessage message,
Map<String,Object> properties)
Adds properties to a ClientMessage
|
protected void |
after() |
protected void |
before() |
protected abstract void |
createClient() |
boolean |
isAutoCreateQueue() |
void |
setAutoCreateQueue(boolean autoCreateQueue) |
protected abstract void |
stopClient() |
public AbstractActiveMQClientResource(String url)
public AbstractActiveMQClientResource(org.apache.activemq.artemis.api.core.client.ServerLocator serverLocator)
public static void addMessageProperties(org.apache.activemq.artemis.api.core.client.ClientMessage message,
Map<String,Object> properties)
message - properties - protected void before()
throws Throwable
before in class org.junit.rules.ExternalResourceThrowableprotected void after()
after in class org.junit.rules.ExternalResourceprotected abstract void createClient()
protected abstract void stopClient()
public boolean isAutoCreateQueue()
public void setAutoCreateQueue(boolean autoCreateQueue)
Copyright © 2023 The Apache Software Foundation. All Rights Reserved.