Interface ChannelCallback<T>
- Type Parameters:
T
- the type the callback returns.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Basic callback for use in RabbitTemplate.
- Author:
- Mark Fisher, Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptiondoInRabbit
(com.rabbitmq.client.Channel channel) Execute any number of operations against the supplied RabbitMQChannel
, possibly returning a result.
-
Method Details
-
doInRabbit
Execute any number of operations against the supplied RabbitMQChannel
, possibly returning a result.- Parameters:
channel
- The channel.- Returns:
- The result.
- Throws:
Exception
- Not sure what else Rabbit Throws
-