Class RabbitMqDao

All Implemented Interfaces:
Serializable, LogstashIndexerDao

public class RabbitMqDao extends HostBasedLogstashIndexerDao
RabbitMQ Data Access Object. TODO: support TLS TODO: support vhost
Since:
1.0.0
Author:
Rusty Gerard
See Also:
  • Constructor Details

  • Method Details

    • getQueue

      public String getQueue()
    • getUsername

      public String getUsername()
    • getPassword

      public String getPassword()
    • getVirtualHost

      public String getVirtualHost()
    • push

      public void push(String data) throws IOException
      Description copied from interface: LogstashIndexerDao
      Sends the log data to the Logstash indexer.
      Parameters:
      data - The serialized data, not null
      Throws:
      IOException - The data is not written to the server