public interface Service
Modifier and Type | Method and Description |
---|---|
boolean |
dispatch(MessageContext msgCtx)
This has the responsibility of dispatching the fetched message from the message store to the client.
|
MessageContext |
fetch(MessageConsumer msgConsumer)
This method has the responsibility of fetching message from the message store.
|
boolean |
init(org.quartz.JobExecutionContext jobExecutionContext)
This method is used to initialize a service.
|
boolean |
terminate()
This method terminates a running service immediately.
|
boolean init(org.quartz.JobExecutionContext jobExecutionContext)
jobExecutionContext
- is the execution environment of the message processorsMessageContext fetch(MessageConsumer msgConsumer)
msgConsumer
- is the associated message consumer of the message processor.boolean dispatch(MessageContext msgCtx)
msgCtx
- is returned value of the fetch method.boolean terminate()
Copyright © 2005–2018 Apache Software Foundation. All rights reserved.