public interface Region extends org.apache.activemq.Service
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledge(ConsumerBrokerExchange consumerExchange,
org.apache.activemq.command.MessageAck ack)
Used to acknowledge the receipt of a message by a client.
|
Subscription |
addConsumer(ConnectionContext context,
org.apache.activemq.command.ConsumerInfo info)
Adds a consumer.
|
Destination |
addDestination(ConnectionContext context,
org.apache.activemq.command.ActiveMQDestination destination,
boolean createIfTemporary)
Used to create a destination.
|
void |
addProducer(ConnectionContext context,
org.apache.activemq.command.ProducerInfo info)
Adds a Producer.
|
void |
gc() |
Map<org.apache.activemq.command.ActiveMQDestination,Destination> |
getDestinationMap()
Returns a reference to the concurrent hash map that holds known destinations, do not modify
|
Set<Destination> |
getDestinations(org.apache.activemq.command.ActiveMQDestination destination)
Provide an exact or wildcard lookup of destinations in the region
|
org.apache.activemq.command.Response |
messagePull(ConnectionContext context,
org.apache.activemq.command.MessagePull pull)
Allows a consumer to pull a message from a queue
|
void |
processConsumerControl(ConsumerBrokerExchange consumerExchange,
org.apache.activemq.command.ConsumerControl control) |
void |
processDispatchNotification(org.apache.activemq.command.MessageDispatchNotification messageDispatchNotification)
Process a notification of a dispatch - used by a Slave Broker
|
void |
reapplyInterceptor() |
void |
removeConsumer(ConnectionContext context,
org.apache.activemq.command.ConsumerInfo info)
Removes a consumer.
|
void |
removeDestination(ConnectionContext context,
org.apache.activemq.command.ActiveMQDestination destination,
long timeout)
Used to destroy a destination.
|
void |
removeProducer(ConnectionContext context,
org.apache.activemq.command.ProducerInfo info)
Removes a Producer.
|
void |
removeSubscription(ConnectionContext context,
org.apache.activemq.command.RemoveSubscriptionInfo info)
Deletes a durable subscription.
|
void |
send(ProducerBrokerExchange producerExchange,
org.apache.activemq.command.Message message)
Send a message to the broker to using the specified destination.
|
Destination addDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createIfTemporary) throws Exception
context - destination - the destination to create.createIfTemporary - Exception - TODOvoid removeDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, long timeout) throws Exception
context - the environment the operation is being executed under.destination - what is being removed from the broker.timeout - the max amount of time to wait for the destination to quiesceException - TODOMap<org.apache.activemq.command.ActiveMQDestination,Destination> getDestinationMap()
Subscription addConsumer(ConnectionContext context, org.apache.activemq.command.ConsumerInfo info) throws Exception
context - the environment the operation is being executed under.Exception - TODOvoid removeConsumer(ConnectionContext context, org.apache.activemq.command.ConsumerInfo info) throws Exception
context - the environment the operation is being executed under.Exception - TODOvoid addProducer(ConnectionContext context, org.apache.activemq.command.ProducerInfo info) throws Exception
context - the environment the operation is being executed under.Exception - TODOvoid removeProducer(ConnectionContext context, org.apache.activemq.command.ProducerInfo info) throws Exception
context - the environment the operation is being executed under.Exception - TODOvoid removeSubscription(ConnectionContext context, org.apache.activemq.command.RemoveSubscriptionInfo info) throws Exception
context - the environment the operation is being executed under.info - TODOException - TODOvoid send(ProducerBrokerExchange producerExchange, org.apache.activemq.command.Message message) throws Exception
producerExchange - the environment the operation is being executed under.message - Exception - TODOvoid acknowledge(ConsumerBrokerExchange consumerExchange, org.apache.activemq.command.MessageAck ack) throws Exception
consumerExchange - the environment the operation is being executed under.Exception - TODOorg.apache.activemq.command.Response messagePull(ConnectionContext context, org.apache.activemq.command.MessagePull pull) throws Exception
Exceptionvoid processDispatchNotification(org.apache.activemq.command.MessageDispatchNotification messageDispatchNotification) throws Exception
messageDispatchNotification - Exception - TODOvoid gc()
Set<Destination> getDestinations(org.apache.activemq.command.ActiveMQDestination destination)
void processConsumerControl(ConsumerBrokerExchange consumerExchange, org.apache.activemq.command.ConsumerControl control)
void reapplyInterceptor()
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.