public class RabbitMqServer
extends com.github.mlk.queue.Server
| Constructor and Description |
|---|
RabbitMqServer(com.rabbitmq.client.ConnectionFactory factory) |
RabbitMqServer(com.rabbitmq.client.ConnectionFactory factory,
boolean autoAck) |
RabbitMqServer(String host) |
RabbitMqServer(String host,
boolean autoAck) |
| Modifier and Type | Method and Description |
|---|---|
protected com.github.mlk.queue.implementation.ServerImplementation |
getImplementation() |
public RabbitMqServer(String host, boolean autoAck)
host - The host to connect to. This will result in a default connection factory with this host.autoAck - Should the messages be automatically ack'ed. If set then the return from the Function in @Handle methods is ignoredpublic RabbitMqServer(com.rabbitmq.client.ConnectionFactory factory,
boolean autoAck)
factory - The connection factory for Rabbit MQ.autoAck - Should the messages be automatically ack'ed. If set then the return from the Function in @Handle methods is ignoredpublic RabbitMqServer(String host)
host - The host to connect to. This will result in a default connection factory with this host.public RabbitMqServer(com.rabbitmq.client.ConnectionFactory factory)
factory - The connection factory for Rabbit MQ.Copyright © 2016. All rights reserved.