T - the type the callback returns.@FunctionalInterface public static interface RabbitOperations.OperationsCallback<T>
| Modifier and Type | Method and Description |
|---|---|
T |
doInRabbit(RabbitOperations operations)
Execute any number of operations using a dedicated
Channel as long as those operations are performed
on the template argument and on the calling thread. |
T doInRabbit(RabbitOperations operations)
Channel as long as those operations are performed
on the template argument and on the calling thread. The channel will be
physically closed when the callback exits.operations - The operations.