Dispatching a Job
Dispatching
Creating a Job is all well and good, but the Job will not be executed until it is dispatched on to a Queue Connection.
If you have a Job instance, you can dispatch it by calling the dispatch
method.
You can also create and dispatch a job in the same call using the cbq.dispatch()
method.
Interception Points
onCBQJobAdded
This is fired before serializing a Job and sending it to a connection. The data includes the job
to be serialized and dispatched and the connection the Job is being dispatched on.
Last updated