org.sca4j.binding.jms.runtime.host.standalone
Class ConsumerWorker

java.lang.Object
  extended by org.sca4j.host.work.DefaultPausableWork
      extended by org.sca4j.binding.jms.runtime.host.standalone.ConsumerWorker
All Implemented Interfaces:
java.lang.Runnable, org.sca4j.host.work.PausableWork

public class ConsumerWorker
extends org.sca4j.host.work.DefaultPausableWork

A thread pull message from destination and invoke Message listener.

Version:
$Revision$ $Date$

Constructor Summary
ConsumerWorker(ConsumerWorkerTemplate template)
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.sca4j.host.work.DefaultPausableWork
isDaemon, run, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumerWorker

public ConsumerWorker(ConsumerWorkerTemplate template)
Parameters:
template -
Method Detail

execute

public void execute()
Specified by:
execute in class org.sca4j.host.work.DefaultPausableWork
See Also:
Runnable.run()


Copyright © 2008-2010 Service Symphony. All Rights Reserved.