org.apache.geronimo.messaging.interceptors
Class QueueInInterceptor

java.lang.Object
  extended byorg.apache.geronimo.messaging.interceptors.QueueInInterceptor
All Implemented Interfaces:
MsgInInterceptor

public class QueueInInterceptor
extends Object
implements MsgInInterceptor

Used to pop Msgs from a MsgQueue.

Version:
$Revision: 1.1 $ $Date: 2004/05/11 12:06:40 $

Constructor Summary
QueueInInterceptor(MsgQueue aQueue)
          Pop Msg from a Queue.
 
Method Summary
 Msg pop()
          Pops a Msg from the underlying Msg source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueInInterceptor

public QueueInInterceptor(MsgQueue aQueue)
Pop Msg from a Queue.

Parameters:
aQueue - Queue from which Msg are popped.
Method Detail

pop

public Msg pop()
Description copied from interface: MsgInInterceptor
Pops a Msg from the underlying Msg source.

Specified by:
pop in interface MsgInInterceptor
Returns:
Msg.


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.