org.mule.ra
Interface MuleConnection

All Known Implementing Classes:
DefaultMuleConnection

public interface MuleConnection

MuleConnection defines the client connection methods for the JCA CCI contract


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

Method Detail

dispatch

void dispatch(String url,
              Object payload,
              Map messageProperties)
              throws UMOException
Throws:
UMOException

receive

UMOMessage receive(String url,
                   long timeout)
                   throws UMOException
Throws:
UMOException

getManagedConnection

MuleManagedConnection getManagedConnection()

close

void close()
           throws ResourceException
Throws:
ResourceException

associateConnection

void associateConnection(MuleManagedConnection newMc)
                         throws ResourceException
Throws:
ResourceException

send

UMOMessage send(String url,
                Object payload,
                Map messageProperties)
                throws UMOException
Throws:
UMOException


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.