Interface ActiveMQDynamicProducerOperations

All Known Implementing Classes:
ActiveMQDynamicProducerDelegate

public interface ActiveMQDynamicProducerOperations
  • Method Details

    • 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 address
      message - 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 address
      body - 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 address
      body - 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 address
      properties - 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 address
      properties - 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 address
      properties - the properties for the new message
      Returns:
      the message that was sent