Class MockedSender.BasicPublisher

java.lang.Object
fr.ght1pc9kc.testy.beat.messaging.MockedSender.BasicPublisher
Enclosing class:
MockedSender

public static final class MockedSender.BasicPublisher extends Object
Publisher build from MockedSender to simply publish an AMQP message.
  • Constructor Details

    • BasicPublisher

      public BasicPublisher()
  • Method Details

    • on

      public void on(String exchange, String routingKey)
      Basic publish the message on given exchange with given routing key.
      Parameters:
      exchange - Exchange name.
      routingKey - Routing key.