
org.mule.ra.MuleConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mule-module-jca Show documentation
Show all versions of mule-module-jca Show documentation
A Resource Adapter implementation that allows a Mule instance to be deployed to a Java EE application server and exposes Mule services via the JCA connector architecture.
The newest version!
/*
* $Id: MuleConnection.java 3792 2006-11-03 18:54:34Z holger $
* --------------------------------------------------------------------------------------
* Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
*
* The software in this package is published under the terms of the MuleSource MPL
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package org.mule.ra;
import java.util.Map;
import javax.resource.ResourceException;
import org.mule.umo.UMOException;
import org.mule.umo.UMOMessage;
/**
* MuleConnection
defines the client connection methods for the JCA
* CCI contract
*/
public interface MuleConnection
{
void dispatch(String url, Object payload, Map messageProperties) throws UMOException;
UMOMessage receive(String url, long timeout) throws UMOException;
MuleManagedConnection getManagedConnection();
void close() throws ResourceException;
void associateConnection(MuleManagedConnection newMc) throws ResourceException;
UMOMessage send(String url, Object payload, Map messageProperties) throws UMOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy