Constructor and Description |
---|
BindingsImpl(SimpleString name,
GroupingHandler groupingHandler,
PagingStore pageStore) |
Modifier and Type | Method and Description |
---|---|
void |
addBinding(Binding binding) |
Collection<Binding> |
getBindings() |
PagingStore |
getPagingStore() |
boolean |
redistribute(ServerMessage message,
Queue originatingQueue,
RoutingContext context) |
void |
removeBinding(Binding binding) |
void |
route(ServerMessage message,
RoutingContext context) |
void |
setRouteWhenNoConsumers(boolean routeWhenNoConsumers) |
String |
toString() |
public BindingsImpl(SimpleString name, GroupingHandler groupingHandler, PagingStore pageStore)
public void setRouteWhenNoConsumers(boolean routeWhenNoConsumers)
setRouteWhenNoConsumers
in interface Bindings
public Collection<Binding> getBindings()
getBindings
in interface Bindings
public void addBinding(Binding binding)
addBinding
in interface Bindings
public void removeBinding(Binding binding)
removeBinding
in interface Bindings
public boolean redistribute(ServerMessage message, Queue originatingQueue, RoutingContext context) throws Exception
redistribute
in interface Bindings
Exception
public PagingStore getPagingStore()
getPagingStore
in interface Bindings
public void route(ServerMessage message, RoutingContext context) throws Exception
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.