public class CamelRoutesBroker extends org.apache.activemq.broker.BrokerFilter
| Constructor and Description |
|---|
CamelRoutesBroker(org.apache.activemq.broker.Broker next) |
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledge(org.apache.activemq.broker.ConsumerBrokerExchange consumerExchange,
org.apache.activemq.command.MessageAck ack) |
void |
beginTransaction(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.command.TransactionId xid) |
void |
commitTransaction(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.command.TransactionId xid,
boolean onePhase) |
void |
forgetTransaction(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.command.TransactionId transactionId) |
int |
getCheckPeriod() |
String |
getRoutesFile() |
void |
isFull(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.broker.region.Destination destination,
org.apache.activemq.usage.Usage usage) |
void |
messageConsumed(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.broker.region.MessageReference messageReference) |
void |
messageDelivered(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.broker.region.MessageReference messageReference) |
void |
messageDiscarded(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.broker.region.Subscription sub,
org.apache.activemq.broker.region.MessageReference messageReference) |
org.apache.activemq.command.Response |
messagePull(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.command.MessagePull pull) |
void |
nowMasterBroker() |
void |
postProcessDispatch(org.apache.activemq.command.MessageDispatch messageDispatch) |
int |
prepareTransaction(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.command.TransactionId xid) |
void |
preProcessDispatch(org.apache.activemq.command.MessageDispatch messageDispatch) |
void |
processConsumerControl(org.apache.activemq.broker.ConsumerBrokerExchange consumerExchange,
org.apache.activemq.command.ConsumerControl control) |
void |
reapplyInterceptor() |
void |
rollbackTransaction(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.command.TransactionId xid) |
void |
send(org.apache.activemq.broker.ProducerBrokerExchange producerExchange,
org.apache.activemq.command.Message message)
Overide methods to pause the broker whilst camel routes are loaded
|
boolean |
sendToDeadLetterQueue(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.broker.region.MessageReference messageReference,
org.apache.activemq.broker.region.Subscription subscription,
Throwable poisonCause) |
void |
setCheckPeriod(int checkPeriod) |
void |
setRoutesFile(String routesFile) |
void |
start() |
void |
stop() |
addBroker, addConnection, addConsumer, addDestination, addDestinationInfo, addProducer, addSession, brokerServiceStarted, fastProducer, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isStopped, messageExpired, networkBridgeStarted, networkBridgeStopped, processDispatchNotification, removeBroker, removeConnection, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, setAdminConnectionContext, slowConsumer, virtualDestinationAdded, virtualDestinationRemovedpublic CamelRoutesBroker(org.apache.activemq.broker.Broker next)
public void send(org.apache.activemq.broker.ProducerBrokerExchange producerExchange, org.apache.activemq.command.Message message) throws Exception
send in interface org.apache.activemq.broker.region.Regionsend in class org.apache.activemq.broker.BrokerFilterExceptionpublic void acknowledge(org.apache.activemq.broker.ConsumerBrokerExchange consumerExchange, org.apache.activemq.command.MessageAck ack) throws Exception
acknowledge in interface org.apache.activemq.broker.region.Regionacknowledge in class org.apache.activemq.broker.BrokerFilterExceptionpublic org.apache.activemq.command.Response messagePull(org.apache.activemq.broker.ConnectionContext context, org.apache.activemq.command.MessagePull pull) throws Exception
messagePull in interface org.apache.activemq.broker.region.RegionmessagePull in class org.apache.activemq.broker.BrokerFilterExceptionpublic void processConsumerControl(org.apache.activemq.broker.ConsumerBrokerExchange consumerExchange, org.apache.activemq.command.ConsumerControl control)
processConsumerControl in interface org.apache.activemq.broker.region.RegionprocessConsumerControl in class org.apache.activemq.broker.BrokerFilterpublic void reapplyInterceptor()
reapplyInterceptor in interface org.apache.activemq.broker.region.RegionreapplyInterceptor in class org.apache.activemq.broker.BrokerFilterpublic void beginTransaction(org.apache.activemq.broker.ConnectionContext context, org.apache.activemq.command.TransactionId xid) throws Exception
beginTransaction in interface org.apache.activemq.broker.BrokerbeginTransaction in class org.apache.activemq.broker.BrokerFilterExceptionpublic int prepareTransaction(org.apache.activemq.broker.ConnectionContext context, org.apache.activemq.command.TransactionId xid) throws Exception
prepareTransaction in interface org.apache.activemq.broker.BrokerprepareTransaction in class org.apache.activemq.broker.BrokerFilterExceptionpublic void rollbackTransaction(org.apache.activemq.broker.ConnectionContext context, org.apache.activemq.command.TransactionId xid) throws Exception
rollbackTransaction in interface org.apache.activemq.broker.BrokerrollbackTransaction in class org.apache.activemq.broker.BrokerFilterExceptionpublic void commitTransaction(org.apache.activemq.broker.ConnectionContext context, org.apache.activemq.command.TransactionId xid, boolean onePhase) throws Exception
commitTransaction in interface org.apache.activemq.broker.BrokercommitTransaction in class org.apache.activemq.broker.BrokerFilterExceptionpublic void forgetTransaction(org.apache.activemq.broker.ConnectionContext context, org.apache.activemq.command.TransactionId transactionId) throws Exception
forgetTransaction in interface org.apache.activemq.broker.BrokerforgetTransaction in class org.apache.activemq.broker.BrokerFilterExceptionpublic void preProcessDispatch(org.apache.activemq.command.MessageDispatch messageDispatch)
preProcessDispatch in interface org.apache.activemq.broker.BrokerpreProcessDispatch in class org.apache.activemq.broker.BrokerFilterpublic void postProcessDispatch(org.apache.activemq.command.MessageDispatch messageDispatch)
postProcessDispatch in interface org.apache.activemq.broker.BrokerpostProcessDispatch in class org.apache.activemq.broker.BrokerFilterpublic boolean sendToDeadLetterQueue(org.apache.activemq.broker.ConnectionContext context, org.apache.activemq.broker.region.MessageReference messageReference, org.apache.activemq.broker.region.Subscription subscription, Throwable poisonCause)
sendToDeadLetterQueue in interface org.apache.activemq.broker.BrokersendToDeadLetterQueue in class org.apache.activemq.broker.BrokerFilterpublic void messageConsumed(org.apache.activemq.broker.ConnectionContext context, org.apache.activemq.broker.region.MessageReference messageReference)
messageConsumed in interface org.apache.activemq.broker.BrokermessageConsumed in class org.apache.activemq.broker.BrokerFilterpublic void messageDelivered(org.apache.activemq.broker.ConnectionContext context, org.apache.activemq.broker.region.MessageReference messageReference)
messageDelivered in interface org.apache.activemq.broker.BrokermessageDelivered in class org.apache.activemq.broker.BrokerFilterpublic void messageDiscarded(org.apache.activemq.broker.ConnectionContext context, org.apache.activemq.broker.region.Subscription sub, org.apache.activemq.broker.region.MessageReference messageReference)
messageDiscarded in interface org.apache.activemq.broker.BrokermessageDiscarded in class org.apache.activemq.broker.BrokerFilterpublic void isFull(org.apache.activemq.broker.ConnectionContext context, org.apache.activemq.broker.region.Destination destination, org.apache.activemq.usage.Usage usage)
isFull in interface org.apache.activemq.broker.BrokerisFull in class org.apache.activemq.broker.BrokerFilterpublic void nowMasterBroker()
nowMasterBroker in interface org.apache.activemq.broker.BrokernowMasterBroker in class org.apache.activemq.broker.BrokerFilterpublic String getRoutesFile()
public void setRoutesFile(String routesFile)
public int getCheckPeriod()
public void setCheckPeriod(int checkPeriod)
public void start() throws Exception
start in interface org.apache.activemq.Servicestart in class org.apache.activemq.broker.BrokerFilterExceptionCopyright © 2005–2017 The Apache Software Foundation. All rights reserved.