org.exolab.jmscts.tools.receive
Class Receive

java.lang.Object
  |
  +--org.exolab.jmscts.tools.MessagingTool
        |
        +--org.exolab.jmscts.tools.receive.Receive

public class Receive
extends MessagingTool

Helper to receive messages

Version:
$Revision: 1.2 $ $Date: 2004/02/03 21:52:12 $
Author:
Tim Anderson

Constructor Summary
Receive()
           
 
Method Summary
protected  void doInvoke()
          Receive messages
 void setReceiptType(ReceiptType type)
          Sets the receipt type
 void setSelector(java.lang.String selector)
          Sets the selector
 
Methods inherited from class org.exolab.jmscts.tools.MessagingTool
getContext, getCount, getDestination, initialise, invoke, log, setConfig, setConnectionFactory, setCount, setDestination, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Receive

public Receive()
Method Detail

setReceiptType

public void setReceiptType(ReceiptType type)
Sets the receipt type
Parameters:
type - the receipt type

setSelector

public void setSelector(java.lang.String selector)
Sets the selector
Parameters:
selector - the selector

doInvoke

protected void doInvoke()
                 throws java.lang.Exception
Receive messages
Overrides:
doInvoke in class MessagingTool
Throws:
java.lang.Exception - for any error


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.