public class SchedulerBroker extends BrokerFilter implements JobListener
next| Constructor and Description |
|---|
SchedulerBroker(Broker next,
java.io.File directory) |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getDirectory() |
protected JobScheduler |
getInternalScheduler() |
JobScheduler |
getJobScheduler() |
void |
scheduledJob(java.lang.String id,
ByteSequence job)
A Job that has been scheduled is now ready
|
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 |
setDirectory(java.io.File directory) |
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, 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, removeBroker, removeConnection, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumerpublic SchedulerBroker(Broker next, java.io.File directory) throws java.lang.Exception
java.lang.Exceptionpublic JobScheduler getJobScheduler() throws java.lang.Exception
java.lang.Exceptionpublic java.io.File getDirectory()
public void setDirectory(java.io.File directory)
directory - the directory to setpublic void start() throws java.lang.Exception
start in interface Servicestart in class BrokerFilterjava.lang.Exceptionpublic void stop() throws java.lang.Exception
stop in interface Servicestop in class BrokerFilterjava.lang.Exceptionpublic void send(ProducerBrokerExchange producerExchange, Message messageSend) throws java.lang.Exception
Regionsend in interface Regionsend in class BrokerFilterproducerExchange - the environment the operation is being executed under.java.lang.Exception - TODOpublic void scheduledJob(java.lang.String id, ByteSequence job)
JobListenerscheduledJob in interface JobListenerprotected JobScheduler getInternalScheduler() throws java.lang.Exception
java.lang.Exceptionprotected void sendScheduledJob(ConnectionContext context, Job job, ActiveMQDestination replyTo) throws java.lang.Exception
java.lang.ExceptionCopyright © 2005-2012. All Rights Reserved.