Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.messaging.core
Interface Receiver

All Known Subinterfaces:
  Channel, CoreDestination

All Known Implementing Classes:
  ChannelSupport, DistributedPipe, Queue, RemoteQueue, ServerConsumerEndpoint, Topic

public interface Receiver

A component that handles routable instances. Handling means consumption or synchronous/asynchronous forwarding to another receiver(s).

Version:
  `$Revision: 1.11 $` $Id: Receiver.java,v 1.11 2005/12/22 20:40:11 timfox Exp $
Author:
  Ovidiu Feodorov, Tim Fox

Method Summary
`Delivery` | `handle(DeliveryObserver observer, Routable routable, Transaction tx)` A receiver can return an active, "done" or null delivery.

Method Detail

### handle

    public Delivery handle(DeliveryObserver observer,
                           Routable routable,
                           Transaction tx)

  A receiver can return an active, "done" or null delivery. The method returns null in case the receiver doesn't accept the message. The return value is unspecified when the message is submitted in the context of a transaction (tx not null).

  Parameters:
    `observer` - - the component the delivery should be acknowledged to.
  See Also:
    `Delivery`, `DeliveryObserver`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 JBoss Inc. All Rights Reserved.