public class Connection extends Object
| Constructor and Description |
|---|
Connection() |
| Modifier and Type | Method and Description |
|---|---|
Channel |
createChannel()
Create a new AMQP channel.
|
RetryPolicy |
getRetryPolicy()
Get the retry policy as defined in the given connection configuration.
|
void |
setClock(io.buybrain.util.time.Clock clock)
Set the clock implementation for this connection.
|
public void setClock(@NonNull
io.buybrain.util.time.Clock clock)
clock - the new clockpublic Channel createChannel()
public RetryPolicy getRetryPolicy()
Copyright © 2017. All rights reserved.