it.imolinfo.jbi4corba.jbi.component.runtime
Class MessageExchangeReceiver
java.lang.Object
it.imolinfo.jbi4corba.jbi.component.runtime.MessageExchangeReceiver
public class MessageExchangeReceiver
- extends 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:
- Marco Piraccini
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageExchangeReceiver
public MessageExchangeReceiver()
throws Exception
- no default constructor for extended classes
- Throws:
Exception
initReceiver
public final void initReceiver(RuntimeConfiguration mRuntimeConfig)
throws Exception
- Throws:
Exception
shutdownReceiver
public final void shutdownReceiver()
throws Exception
- Throws:
Exception
startProcessing
public final void startProcessing()
throws Exception
- Throws:
Exception
stopProcessing
public final void stopProcessing()
throws Exception
- Throws:
Exception
Copyright © 2005-2010 Imola Informatica. All Rights Reserved.