org.jboss.jms.server.endpoint
Interface ConsumerEndpoint

All Superinterfaces:
Closeable
All Known Subinterfaces:
ConsumerDelegate
All Known Implementing Classes:
ClientConsumerDelegate, ConsumerAdvised, ServerConsumerEndpoint

public interface ConsumerEndpoint
extends Closeable

Represents the set of methods from the ConsumerDelegate that are handled on the server. The rest of the methods are handled in the advice stack.

Version:
$Revision: 1849 $ $Id: ConsumerEndpoint.java 1849 2006-12-22 20:55:26Z timfox $
Author:
Tim Fox, Ovidiu Feodorov

Method Summary
 void cancelInflightMessages(long lastDeliveryId)
          Cancels any deliveries with a delivery id > lastDeliveryId - these are inflight
 void changeRate(float newRate)
          Sent to the server to specify a new maximum rate at which to send messages at
 
Methods inherited from interface org.jboss.jms.client.Closeable
close, closing
 

Method Detail

changeRate

public void changeRate(float newRate)
                throws JMSException
Sent to the server to specify a new maximum rate at which to send messages at

Throws:
JMSException

cancelInflightMessages

public void cancelInflightMessages(long lastDeliveryId)
                            throws JMSException
Cancels any deliveries with a delivery id > lastDeliveryId - these are inflight

Parameters:
lastDeliveryId -
Throws:
JMSException


Copyright © 2006 JBoss Inc. All Rights Reserved.