You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Virag Kothari (JIRA)" <ji...@apache.org> on 2013/03/21 21:27:15 UTC

[jira] [Comment Edited] (OOZIE-1235) Client API for retrieving topic and jms connection related details

    [ https://issues.apache.org/jira/browse/OOZIE-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13609368#comment-13609368 ] 

Virag Kothari edited comment on OOZIE-1235 at 3/21/13 8:26 PM:
---------------------------------------------------------------

Based on comments in meetup, added a generic topic service which can allow topic to be variables like {noformat} {username}, {jobId} or {username}.{jobId} {noformat} Also it can be a fixed string like 'workflow, 'coord' etc. By default, the topic name will be {username}
Different topics can also be specified at job level. For. e.g Topic name for workflow can be {jobId} and for coordinator it can be a fixed string 'coord'
                
      was (Author: virag):
    Based on comments in meetup, added a generic topic service which can allow topic to be variables like ${username}, ${jobId} or ${username}.${jobId}. Also it can be a fixed string like 'workflow, 'coord' etc. By default, the topic name will be {username}
Different topics can also be specified at job level. For. e.g Topic name for workflow can be '${jobId}' and for coordinator it can be a fixed string 'coord'
                  
> Client API for retrieving topic and jms connection related details
> ------------------------------------------------------------------
>
>                 Key: OOZIE-1235
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1235
>             Project: Oozie
>          Issue Type: Sub-task
>            Reporter: Virag Kothari
>            Assignee: Virag Kothari
>
> The consumers interested in JMS notifications will require JNDI properties for connecting to the JMS broker. They will also require to know the topic on which the messages are sent.
> OozieClient can provide the following API
> {code}
> OozieJMSConnectionInfo getJMSConnectionInfo(String jobId)
> {code}
> OozieJMSConnectionInfo interface has two methods
> {code}
> Properties getJNDIProperties();
> String getTopicName();
> {code}

--
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