|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.component.framework.process.MessageExchangeProcessor
public class MessageExchangeProcessor
Processor for received MessageExchanges. This processor can be overridden to
define a specific strategy to accept messages from the DeliveryChannel. See
acceptMessageExchange().
Override the createMessageExchangeProcessor method in the
Component class to set your processor.
| Constructor Summary | |
|---|---|
MessageExchangeProcessor(AbstractComponent component,
AbstractJBIListener jbiListener,
java.util.logging.Logger logger)
Creates a processor that listen to new MessageExchange on the
specified channel. |
|
| Method Summary | |
|---|---|
protected void |
clean()
Clean the Message Exchange Processor. |
ExchangeImpl |
getMessageExchange()
Get the current processing exchange. |
protected org.ow2.petals.commons.logger.ProvideFlowStepBeginLogData |
newProvideFlowStepBeginLogData(org.ow2.petals.component.framework.api.message.Exchange exchange)
|
void |
run()
|
void |
setMessageExchange(ExchangeImpl exchange)
Set the current exchange to process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageExchangeProcessor(AbstractComponent component,
AbstractJBIListener jbiListener,
java.util.logging.Logger logger)
MessageExchange on the
specified channel. Exchanges are ignored depending on the specified
exchange-status to ignore.
component - jbiPool - exchange - | Method Detail |
|---|
public void setMessageExchange(ExchangeImpl exchange)
exchange - public ExchangeImpl getMessageExchange()
exchange - public void run()
run in interface java.lang.Runnableprotected final void clean()
protected final org.ow2.petals.commons.logger.ProvideFlowStepBeginLogData newProvideFlowStepBeginLogData(org.ow2.petals.component.framework.api.message.Exchange exchange)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||