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.jms.delegate
Interface ConsumerDelegate

All Superinterfaces:
  Closeable, ConsumerEndpoint

All Known Implementing Classes:
  ClientConsumerDelegate

public interface ConsumerDelegate
extends ConsumerEndpoint

Represents the minimal set of operations to provide consumer functionality. Some of the methods may be implemented on the server, others will be handled in the advice stack.

Version:
  `$Revision: 1.15 $` $Id: ConsumerDelegate.java,v 1.15 2006/03/07 17:11:14 timfox Exp $
Author:
  Ovidiu Feodorov, Tim Fox

Method Summary
`JBossDestination` | `getDestination()`
`MessageListener` | `getMessageListener()`
`java.lang.String` | `getMessageSelector()`
`boolean` | `getNoLocal()`
`Message` | `receive(long timeout)`
`void` | `setMessageListener(MessageListener listener)`

Methods inherited from interface org.jboss.jms.server.endpoint.ConsumerEndpoint
`activate, cancelDeliveries, cancelDelivery, deactivate, getMessageNow`

Methods inherited from interface org.jboss.jms.client.Closeable
`close, closing`

Method Detail

### getMessageListener

    public MessageListener getMessageListener()

### setMessageListener

    public void setMessageListener(MessageListener listener)

### getDestination

    public JBossDestination getDestination()

### getNoLocal

    public boolean getNoLocal()

### getMessageSelector

    public java.lang.String getMessageSelector()

### receive

    public Message receive(long timeout)
                    throws JMSException

  Throws:
    `JMSException`

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.