it.imolinfo.jbi4ejb.jbi.component.runtime
Class MessageExchangeReceiver
java.lang.Object
it.imolinfo.jbi4ejb.jbi.component.runtime.MessageExchangeReceiver
public class MessageExchangeReceiver
- extends java.lang.Object
This main purpose of this class is to manage receiving the MessageExchange
object from the DeliveryChannel and process them by delegating the processing
of the MessageExchange object to MessageExchangeHandlers configured for the
component. It also provides the controller methods to start and stop
processing the MessageExchange objects which will be used when the component
lifecycle is controlled.
This class creates a single thread to receive the MessageExchange objects
from the delivery channel and then finds the appropriate message exchange
handler to process the message exchange. Each message exchange handler will
be executed in a separate thread from a pool of handler threads.
- Author:
- Sun Microsystems, Inc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageExchangeReceiver
public MessageExchangeReceiver()
throws java.lang.Exception
- no default constructor for extended classes
- Throws:
java.lang.Exception
initReceiver
public final void initReceiver()
throws java.lang.Exception
- Throws:
java.lang.Exception
shutdownReceiver
public final void shutdownReceiver()
throws java.lang.Exception
- Throws:
java.lang.Exception
startProcessing
public final void startProcessing()
throws java.lang.Exception
- Throws:
java.lang.Exception
stopProcessing
public final void stopProcessing()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2007-2008 Imola Informatica. All Rights Reserved.