org.exolab.jms.util
Interface QueueWorker


public interface QueueWorker

A QueueWorker attached to a BlockingWorkerQueue and is called back when there is work for it.

Version:
$Revision: 1.2 $ $Date: 2003/08/07 13:33:12 $
Author:
Jim Alateras

Method Summary
 void execute(java.lang.Object work)
          This method is called whenever there is worl for the queue worker.
 

Method Detail

execute

public void execute(java.lang.Object work)
This method is called whenever there is worl for the queue worker. The queue worker must not throw any exceptions
Parameters:
work - - the work to execute


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.