org.ow2.petals.engine.sampleclient
Class SampleClientListener

java.lang.Object
  extended by org.ow2.petals.engine.sampleclient.SampleClientListener
All Implemented Interfaces:
java.lang.Runnable

public class SampleClientListener
extends java.lang.Object
implements java.lang.Runnable

Message listener of the SampleClient component

Author:
alouis, ddesjardins - eBMWebsourcing

Constructor Summary
SampleClientListener(javax.jbi.messaging.DeliveryChannel channel, Console c, java.util.logging.Logger log)
          Creates a new instance of SampleClientListener
 
Method Summary
 void process(javax.jbi.messaging.MessageExchange msg)
          Process the received message exchange
 void run()
           
 void stopProcessing()
          Stop processing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleClientListener

public SampleClientListener(javax.jbi.messaging.DeliveryChannel channel,
                            Console c,
                            java.util.logging.Logger log)
Creates a new instance of SampleClientListener

Parameters:
channel -
c -
log -
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

process

public void process(javax.jbi.messaging.MessageExchange msg)
Process the received message exchange

Parameters:
msg -

stopProcessing

public void stopProcessing()
Stop processing



Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.