Spring AMQP

org.springframework.amqp.rabbit.core
Interface ChannelCallback<T>


public interface ChannelCallback<T>

Basic callback for use in RabbitTemplate

Author:
Mark Fisher

Method Summary
 T doInRabbit(com.rabbitmq.client.Channel channel)
          Execute any number of operations against the supplied RabbitMQ Channel, possibly returning a result.
 

Method Detail

doInRabbit

T doInRabbit(com.rabbitmq.client.Channel channel)
             throws Exception
Execute any number of operations against the supplied RabbitMQ Channel, possibly returning a result.

Throws:
Exception

Spring AMQP

Copyright © 2011. All Rights Reserved.