org.jboss.messaging.core.server
Interface Distributor

All Known Implementing Classes:
DistributorImpl, GroupingRoundRobinDistributor, RoundRobinDistributor

public interface Distributor

A Distributor

Author:
Tim Fox

Method Summary
 void addConsumer(Consumer consumer)
           
 HandleStatus distribute(MessageReference reference)
           
 int getConsumerCount()
           
 java.util.List<Consumer> getConsumers()
           
 boolean hasConsumers()
           
 boolean removeConsumer(Consumer consumer)
           
 

Method Detail

distribute

HandleStatus distribute(MessageReference reference)

addConsumer

void addConsumer(Consumer consumer)

removeConsumer

boolean removeConsumer(Consumer consumer)

getConsumerCount

int getConsumerCount()

hasConsumers

boolean hasConsumers()

getConsumers

java.util.List<Consumer> getConsumers()


Copyright © 2006 JBoss Inc. All Rights Reserved.