public class SchedulerBroker extends BrokerFilter implements JobListener
next| Constructor and Description |
|---|
SchedulerBroker(BrokerService brokerService,
Broker next,
JobSchedulerStore store) |
| Modifier and Type | Method and Description |
|---|---|
protected JobScheduler |
getInternalScheduler() |
JobScheduler |
getJobScheduler() |
void |
scheduledJob(String id,
ByteSequence job)
A Job that has been scheduled is now ready to be fired.
|
void |
send(ProducerBrokerExchange producerExchange,
Message messageSend)
Send a message to the broker to using the specified destination.
|
protected void |
sendScheduledJob(ConnectionContext context,
Job job,
ActiveMQDestination replyTo) |
void |
start() |
void |
stop() |
acknowledge, addBroker, addConnection, addConsumer, addDestination, addDestinationInfo, addProducer, addSession, beginTransaction, brokerServiceStarted, commitTransaction, fastProducer, forgetTransaction, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isFull, isStopped, messageConsumed, messageDelivered, messageDiscarded, messageExpired, messagePull, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, preProcessDispatch, processConsumerControl, processDispatchNotification, reapplyInterceptor, removeBroker, removeConnection, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumerpublic SchedulerBroker(BrokerService brokerService, Broker next, JobSchedulerStore store) throws Exception
Exceptionpublic JobScheduler getJobScheduler() throws Exception
Exceptionpublic void start() throws Exception
start in interface Servicestart in class BrokerFilterExceptionpublic void stop() throws Exception
stop in interface Servicestop in class BrokerFilterExceptionpublic void send(ProducerBrokerExchange producerExchange, Message messageSend) throws Exception
Regionsend in interface Regionsend in class BrokerFilterproducerExchange - the environment the operation is being executed under.Exception - TODOpublic void scheduledJob(String id, ByteSequence job)
JobListenerscheduledJob in interface JobListenerjob - The job that is now ready, delivered in byte form.protected JobScheduler getInternalScheduler() throws Exception
Exceptionprotected void sendScheduledJob(ConnectionContext context, Job job, ActiveMQDestination replyTo) throws Exception
ExceptionCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.