- 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.
@FunctionalInterface public interface ChannelCallback<T>
Basic callback for use in RabbitTemplate.
- Mark Fisher, Gary Russell
doInRabbitExecute any number of operations against the supplied RabbitMQ
Channel, possibly returning a result.
channel- The channel.
- The result.
Exception- Not sure what else Rabbit Throws