public class ActiveMQDynamicProducerResource extends ActiveMQProducerResource
public class SimpleTest {AbstractActiveMQClientResource.ActiveMQClientResourceException| Constructor and Description |
|---|
ActiveMQDynamicProducerResource(org.apache.activemq.artemis.api.core.client.ServerLocator serverLocator) |
ActiveMQDynamicProducerResource(org.apache.activemq.artemis.api.core.client.ServerLocator serverLocator,
org.apache.activemq.artemis.api.core.SimpleString address) |
ActiveMQDynamicProducerResource(String url) |
ActiveMQDynamicProducerResource(String url,
org.apache.activemq.artemis.api.core.SimpleString address) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createClient() |
void |
sendMessage(org.apache.activemq.artemis.api.core.client.ClientMessage message)
Send a ClientMessage to the default address on the server
|
org.apache.activemq.artemis.api.core.client.ClientMessage |
sendMessage(org.apache.activemq.artemis.api.core.SimpleString targetAddress,
byte[] body)
Create a new ClientMessage with the specified body and send to the specified address on the server
|
org.apache.activemq.artemis.api.core.client.ClientMessage |
sendMessage(org.apache.activemq.artemis.api.core.SimpleString targetAddress,
byte[] body,
Map<String,Object> properties)
Create a new ClientMessage with the specified body and and properties and send to the server
|
void |
sendMessage(org.apache.activemq.artemis.api.core.SimpleString targetAddress,
org.apache.activemq.artemis.api.core.client.ClientMessage message)
Send a ClientMessage to the specified address on the server
|
org.apache.activemq.artemis.api.core.client.ClientMessage |
sendMessage(org.apache.activemq.artemis.api.core.SimpleString targetAddress,
Map<String,Object> properties)
Create a new ClientMessage with the specified properties and send to the server
|
org.apache.activemq.artemis.api.core.client.ClientMessage |
sendMessage(org.apache.activemq.artemis.api.core.SimpleString targetAddress,
String body)
Create a new ClientMessage with the specified body and send to the server
|
org.apache.activemq.artemis.api.core.client.ClientMessage |
sendMessage(org.apache.activemq.artemis.api.core.SimpleString targetAddress,
String body,
Map<String,Object> properties)
Create a new ClientMessage with the specified body and and properties and send to the server
|
createMessage, createMessage, createMessage, createMessage, createMessage, createMessage, isUseDurableMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, setUseDurableMessage, stopClientaddMessageProperties, after, before, isAutoCreateQueue, setAutoCreateQueuepublic ActiveMQDynamicProducerResource(String url)
public ActiveMQDynamicProducerResource(org.apache.activemq.artemis.api.core.client.ServerLocator serverLocator)
public ActiveMQDynamicProducerResource(String url, org.apache.activemq.artemis.api.core.SimpleString address)
public ActiveMQDynamicProducerResource(org.apache.activemq.artemis.api.core.client.ServerLocator serverLocator,
org.apache.activemq.artemis.api.core.SimpleString address)
protected void createClient()
createClient in class ActiveMQProducerResourcepublic void sendMessage(org.apache.activemq.artemis.api.core.client.ClientMessage message)
sendMessage in class ActiveMQProducerResourcemessage - the message to sendpublic void sendMessage(org.apache.activemq.artemis.api.core.SimpleString targetAddress,
org.apache.activemq.artemis.api.core.client.ClientMessage message)
targetAddress - the target addressmessage - the message to sendpublic org.apache.activemq.artemis.api.core.client.ClientMessage sendMessage(org.apache.activemq.artemis.api.core.SimpleString targetAddress,
byte[] body)
targetAddress - the target addressbody - the body for the new messagepublic org.apache.activemq.artemis.api.core.client.ClientMessage sendMessage(org.apache.activemq.artemis.api.core.SimpleString targetAddress,
String body)
targetAddress - the target addressbody - the body for the new messagepublic org.apache.activemq.artemis.api.core.client.ClientMessage sendMessage(org.apache.activemq.artemis.api.core.SimpleString targetAddress,
Map<String,Object> properties)
targetAddress - the target addressproperties - the properties for the new messagepublic org.apache.activemq.artemis.api.core.client.ClientMessage sendMessage(org.apache.activemq.artemis.api.core.SimpleString targetAddress,
byte[] body,
Map<String,Object> properties)
targetAddress - the target addressproperties - the properties for the new messagepublic org.apache.activemq.artemis.api.core.client.ClientMessage sendMessage(org.apache.activemq.artemis.api.core.SimpleString targetAddress,
String body,
Map<String,Object> properties)
targetAddress - the target addressproperties - the properties for the new messageCopyright © 2023 The Apache Software Foundation. All Rights Reserved.