Package io.elastic.sailor.impl
Class MessagePublisherImpl
java.lang.Object
io.elastic.sailor.impl.MessagePublisherImpl
- All Implemented Interfaces:
MessagePublisher
-
Constructor Summary
ConstructorsConstructorDescriptionMessagePublisherImpl
(String publishExchangeName, int publishMaxRetries, long publishRetryDelay, long publishMaxRetryDelay, boolean isPublishConfirmEnabled, boolean isPersistentMessagesEnabled, AmqpService amqpService) -
Method Summary
-
Constructor Details
-
MessagePublisherImpl
@Inject public MessagePublisherImpl(String publishExchangeName, int publishMaxRetries, long publishRetryDelay, long publishMaxRetryDelay, boolean isPublishConfirmEnabled, boolean isPersistentMessagesEnabled, AmqpService amqpService)
-
-
Method Details
-
publish
public void publish(String routingKey, byte[] payload, com.rabbitmq.client.AMQP.BasicProperties options) - Specified by:
publish
in interfaceMessagePublisher
-