Interface ActiveMQDynamicProducerOperations
-
- All Known Implementing Classes:
ActiveMQDynamicProducerDelegate
public interface ActiveMQDynamicProducerOperations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsendMessage(ClientMessage message)Send a ClientMessage to the default address on the serverClientMessagesendMessage(SimpleString targetAddress, byte[] body)Create a new ClientMessage with the specified body and send to the specified address on the serverClientMessagesendMessage(SimpleString targetAddress, byte[] body, Map<String,Object> properties)Create a new ClientMessage with the specified body and and properties and send to the serverClientMessagesendMessage(SimpleString targetAddress, String body)Create a new ClientMessage with the specified body and send to the serverClientMessagesendMessage(SimpleString targetAddress, String body, Map<String,Object> properties)Create a new ClientMessage with the specified body and and properties and send to the serverClientMessagesendMessage(SimpleString targetAddress, Map<String,Object> properties)Create a new ClientMessage with the specified properties and send to the servervoidsendMessage(SimpleString targetAddress, ClientMessage message)Send a ClientMessage to the specified address on the server
-
-
-
Method Detail
-
sendMessage
void sendMessage(ClientMessage message)
Send a ClientMessage to the default address on the server- Parameters:
message- the message to send
-
sendMessage
void sendMessage(SimpleString targetAddress, ClientMessage message)
Send a ClientMessage to the specified address on the server- Parameters:
targetAddress- the target addressmessage- the message to send
-
sendMessage
ClientMessage sendMessage(SimpleString targetAddress, byte[] body)
Create a new ClientMessage with the specified body and send to the specified address on the server- Parameters:
targetAddress- the target addressbody- the body for the new message- Returns:
- the message that was sent
-
sendMessage
ClientMessage sendMessage(SimpleString targetAddress, String body)
Create a new ClientMessage with the specified body and send to the server- Parameters:
targetAddress- the target addressbody- the body for the new message- Returns:
- the message that was sent
-
sendMessage
ClientMessage sendMessage(SimpleString targetAddress, Map<String,Object> properties)
Create a new ClientMessage with the specified properties and send to the server- Parameters:
targetAddress- the target addressproperties- the properties for the new message- Returns:
- the message that was sent
-
sendMessage
ClientMessage sendMessage(SimpleString targetAddress, byte[] body, Map<String,Object> properties)
Create a new ClientMessage with the specified body and and properties and send to the server- Parameters:
targetAddress- the target addressproperties- the properties for the new message- Returns:
- the message that was sent
-
sendMessage
ClientMessage sendMessage(SimpleString targetAddress, String body, Map<String,Object> properties)
Create a new ClientMessage with the specified body and and properties and send to the server- Parameters:
targetAddress- the target addressproperties- the properties for the new message- Returns:
- the message that was sent
-
-