org.mule.providers.jbi
Class JbiMessageReceiver
java.lang.Object
org.mule.providers.AbstractMessageReceiver
org.mule.providers.jbi.JbiMessageReceiver
- All Implemented Interfaces:
- Runnable, javax.resource.spi.work.Work, Disposable, Lifecycle, Startable, Stoppable, UMOConnectable, UMOMessageReceiver
public class JbiMessageReceiver
- extends AbstractMessageReceiver
- implements javax.resource.spi.work.Work
This is a JBI component that can receive events over Mule transports. It is an
independent JBI component implementation that can be used in any JBI container,
including but not limited to Mule JBI.
Methods inherited from class org.mule.providers.AbstractMessageReceiver |
applyResponseTransformer, connect, disconnect, dispose, getComponent, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, getEndpointURI, getListener, getReceiverKey, getWorkManager, handleException, handleUnacceptedFilter, isConnected, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setComponent, setConnector, setEndpoint, setExceptionDetails, setListener, setReceiverKey, setWorkManager, start, stop, toString |
context
protected javax.jbi.component.ComponentContext context
connector
protected JbiConnector connector
name
protected String name
JbiMessageReceiver
public JbiMessageReceiver(UMOConnector connector,
UMOComponent component,
UMOEndpoint endpoint)
throws InitialisationException
- Throws:
InitialisationException
doDispose
protected void doDispose()
- Specified by:
doDispose
in class AbstractMessageReceiver
doConnect
public void doConnect()
throws Exception
- Specified by:
doConnect
in class AbstractMessageReceiver
- Throws:
Exception
doDisconnect
public void doDisconnect()
throws Exception
- Specified by:
doDisconnect
in class AbstractMessageReceiver
- Throws:
Exception
doStart
public void doStart()
throws UMOException
- Specified by:
doStart
in class AbstractMessageReceiver
- Throws:
UMOException
doStop
public void doStop()
throws UMOException
- Specified by:
doStop
in class AbstractMessageReceiver
- Throws:
UMOException
release
public void release()
- Specified by:
release
in interface javax.resource.spi.work.Work
run
public void run()
- Specified by:
run
in interface Runnable
error
protected void error(javax.jbi.messaging.MessageExchange me,
Exception e)
throws javax.jbi.messaging.MessagingException
- Throws:
javax.jbi.messaging.MessagingException
done
protected void done(javax.jbi.messaging.MessageExchange me)
throws javax.jbi.messaging.MessagingException
- Throws:
javax.jbi.messaging.MessagingException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.