public class DestinationPathSeparatorBroker extends BrokerPluginSupport
next| Constructor and Description |
|---|
DestinationPathSeparatorBroker() |
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledge(ConsumerBrokerExchange consumerExchange,
MessageAck ack)
Used to acknowledge the receipt of a message by a client.
|
Subscription |
addConsumer(ConnectionContext context,
ConsumerInfo info)
Adds a consumer.
|
Destination |
addDestination(ConnectionContext context,
ActiveMQDestination destination,
boolean createIfTemporary)
Used to create a destination.
|
void |
addDestinationInfo(ConnectionContext context,
DestinationInfo info)
Add and process a DestinationInfo object
|
void |
addProducer(ConnectionContext context,
ProducerInfo info)
Adds a producer.
|
protected ActiveMQDestination |
convertDestination(ActiveMQDestination destination) |
Response |
messagePull(ConnectionContext context,
MessagePull pull)
Allows a consumer to pull a message from a queue
|
void |
processConsumerControl(ConsumerBrokerExchange consumerExchange,
ConsumerControl control) |
void |
removeConsumer(ConnectionContext context,
ConsumerInfo info)
Removes a consumer.
|
void |
removeDestination(ConnectionContext context,
ActiveMQDestination destination,
long timeout)
Used to destroy a destination.
|
void |
removeDestinationInfo(ConnectionContext context,
DestinationInfo info)
Remove and process a DestinationInfo object
|
void |
removeProducer(ConnectionContext context,
ProducerInfo info)
Removes a producer.
|
void |
send(ProducerBrokerExchange producerExchange,
Message messageSend)
Send a message to the broker to using the specified destination.
|
void |
setPathSeparator(java.lang.String pathSeparator) |
installPlugin, start, stopaddBroker, addConnection, addSession, beginTransaction, brokerServiceStarted, commitTransaction, fastProducer, forgetTransaction, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getNext, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isFull, isStopped, messageConsumed, messageDelivered, messageDiscarded, messageExpired, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, preProcessDispatch, processDispatchNotification, removeBroker, removeConnection, removeSession, removeSubscription, rollbackTransaction, sendToDeadLetterQueue, setAdminConnectionContext, setNext, slowConsumerprotected ActiveMQDestination convertDestination(ActiveMQDestination destination)
public void acknowledge(ConsumerBrokerExchange consumerExchange, MessageAck ack) throws java.lang.Exception
Regionacknowledge in interface Regionacknowledge in class MutableBrokerFilterconsumerExchange - the environment the operation is being executed under.java.lang.Exception - TODOpublic Subscription addConsumer(ConnectionContext context, ConsumerInfo info) throws java.lang.Exception
RegionaddConsumer in interface RegionaddConsumer in class MutableBrokerFiltercontext - the environment the operation is being executed under.java.lang.Exception - TODOpublic void addProducer(ConnectionContext context, ProducerInfo info) throws java.lang.Exception
BrokeraddProducer in interface BrokeraddProducer in interface RegionaddProducer in class MutableBrokerFiltercontext - the enviorment the operation is being executed under.java.lang.Exception - TODOpublic void removeConsumer(ConnectionContext context, ConsumerInfo info) throws java.lang.Exception
RegionremoveConsumer in interface RegionremoveConsumer in class MutableBrokerFiltercontext - the environment the operation is being executed under.java.lang.Exception - TODOpublic void removeProducer(ConnectionContext context, ProducerInfo info) throws java.lang.Exception
BrokerremoveProducer in interface BrokerremoveProducer in interface RegionremoveProducer in class MutableBrokerFiltercontext - the enviorment the operation is being executed under.java.lang.Exception - TODOpublic void send(ProducerBrokerExchange producerExchange, Message messageSend) throws java.lang.Exception
Regionsend in interface Regionsend in class MutableBrokerFilterproducerExchange - the environment the operation is being executed under.java.lang.Exception - TODOpublic Destination addDestination(ConnectionContext context, ActiveMQDestination destination, boolean createIfTemporary) throws java.lang.Exception
RegionaddDestination in interface RegionaddDestination in class MutableBrokerFilterdestination - the destination to create.java.lang.Exception - TODOpublic void removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout) throws java.lang.Exception
RegionremoveDestination in interface RegionremoveDestination in class MutableBrokerFiltercontext - 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 quiescejava.lang.Exception - TODOpublic void addDestinationInfo(ConnectionContext context, DestinationInfo info) throws java.lang.Exception
BrokeraddDestinationInfo in interface BrokeraddDestinationInfo in class MutableBrokerFilterjava.lang.Exceptionpublic void removeDestinationInfo(ConnectionContext context, DestinationInfo info) throws java.lang.Exception
BrokerremoveDestinationInfo in interface BrokerremoveDestinationInfo in class MutableBrokerFilterjava.lang.Exceptionpublic void processConsumerControl(ConsumerBrokerExchange consumerExchange, ConsumerControl control)
processConsumerControl in interface RegionprocessConsumerControl in class MutableBrokerFilterpublic Response messagePull(ConnectionContext context, MessagePull pull) throws java.lang.Exception
RegionmessagePull in interface RegionmessagePull in class MutableBrokerFilterjava.lang.Exceptionpublic void setPathSeparator(java.lang.String pathSeparator)
Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.