public class UnmanagedPublisher<Message> extends Object
| Constructor and Description |
|---|
UnmanagedPublisher(String name,
ActorConfig config,
RMQConnection connection,
com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
protected RMQConnection |
connection() |
protected com.fasterxml.jackson.databind.ObjectMapper |
mapper() |
long |
pendingMessagesCount() |
void |
publish(Message message) |
void |
publish(Message message,
com.rabbitmq.client.AMQP.BasicProperties properties) |
void |
publishWithDelay(Message message,
long delayMilliseconds) |
void |
start() |
void |
stop() |
public UnmanagedPublisher(String name, ActorConfig config, RMQConnection connection, com.fasterxml.jackson.databind.ObjectMapper mapper)
public final void publishWithDelay(Message message, long delayMilliseconds) throws Exception
Exceptionpublic final void publish(Message message, com.rabbitmq.client.AMQP.BasicProperties properties) throws Exception
Exceptionpublic final long pendingMessagesCount()
protected final RMQConnection connection()
protected final com.fasterxml.jackson.databind.ObjectMapper mapper()
Copyright © 2016–2021. All rights reserved.