Virag Kothari created OOZIE-1234:
------------------------------------
Summary: JMS Event Listeners for publishing notifications related
to workflow and coordinator
Key: OOZIE-1234
URL: https://issues.apache.org/jira/browse/OOZIE-1234
Project: Oozie
Issue Type: Bug
Reporter: Virag Kothari
Assignee: Virag Kothari
The event listeners will emit notifications for workflow, coordinator and SLA
events. There are different ways of sending notifications like through JMS or
email.
This JIRA will focus on JMS Event listeners for workflow and coordinator
related events.
JMS implementation of event listener will send messages on a particular topic
In addition to the JMS payload, the notification message will have properties
on which the consumers can apply selectors to filter messages at JMS server.
The JMS event message will be serialized and Oozie will also provide a helper
class for consumers to deserialize these messages back to Java Objects.
Classes
EventMessage: There can be different event messages like
WorkflowJobSuccessMessage, WorkflowJobFailureMessage similar to different
events in OOZIE-1209
EventListener: Listener to publish event messages on msg bus. One
implementation will be JMSWorkflowEventlistener for publishing workflow related
event messages
MessageFactory: Factory for providing serializer, deserializer and creating
Oozie event messages instances
MessageSerializer: Serialize the JMS messages. One implementation can be
JSONMessageSerializer to send the messages as JSON string.
MessageDeserializer: Class to convert the serialized string back to Java Event
Messages.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira