org.mule.ra
Interface MuleConnection

All Known Implementing Classes:
DefaultMuleConnection

public interface MuleConnection

MuleConnection defines the client connection methods for the JCA cci contract

Version:
$Revision: 1.2 $
Author:
Ross Mason

Method Summary
 void associateConnection(MuleManagedConnection newMc)
           
 void close()
           
 void dispatch(java.lang.String url, java.lang.Object payload, java.util.Map messageProperties)
           
 MuleManagedConnection getManagedConnection()
           
 UMOMessage receive(java.lang.String url, long timeout)
           
 

Method Detail

dispatch

public void dispatch(java.lang.String url,
                     java.lang.Object payload,
                     java.util.Map messageProperties)
              throws UMOException
Throws:
UMOException

receive

public UMOMessage receive(java.lang.String url,
                          long timeout)
                   throws UMOException
Throws:
UMOException

getManagedConnection

public MuleManagedConnection getManagedConnection()

close

public void close()
           throws ResourceException
Throws:
ResourceException

associateConnection

public void associateConnection(MuleManagedConnection newMc)
                         throws ResourceException
Throws:
ResourceException


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.