public class ConsumeSpec extends OperationSpec<ConsumeSpec>
Channel.consume(io.buybrain.hamq.ConsumeSpec).| Constructor and Description |
|---|
ConsumeSpec(String queue,
io.buybrain.util.function.ThrowingConsumer<Delivery> callback) |
| Modifier and Type | Method and Description |
|---|---|
ConsumeSpec |
withArg(String name,
Object value) |
withRetryPolicypublic ConsumeSpec withArg(@NonNull String name, @NonNull Object value)
Copyright © 2017. All rights reserved.