Spring AMQP

org.springframework.erlang.core
Interface ConnectionCallback<T>


public interface ConnectionCallback<T>

Basic callback for use in ErlangTemplate

Author:
Mark Pollack

Method Summary
 T doInConnection(Connection connection)
          Execute any number of operations against the supplied OTP connection, possibly returning a result.
 

Method Detail

doInConnection

T doInConnection(Connection connection)
                 throws Exception
Execute any number of operations against the supplied OTP connection, possibly returning a result.

Throws:
Exception

Spring AMQP

Copyright © 2011. All Rights Reserved.