You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streams.apache.org by "Danny Sullivan (JIRA)" <ji...@apache.org> on 2013/06/20 00:04:25 UTC

[jira] [Commented] (STREAMS-17) Allow activities to be published

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

Danny Sullivan commented on STREAMS-17:
---------------------------------------

So are we imagining that the split method, which takes in a String, could be passed a String with multiple activities into it? (i.e "{'actor':'I', 'verb':'posted', 'target':'something'}, {'actor':''you'', 'verb':'looked at', 'target':'something else'}")
                
> Allow activities to be published
> --------------------------------
>
>                 Key: STREAMS-17
>                 URL: https://issues.apache.org/jira/browse/STREAMS-17
>             Project: Streams
>          Issue Type: Bug
>            Reporter: Gavin Black
>         Attachments: activitiesSplitPatch.txt
>
>
> Right now the activities are hardcoded to "this, is, my, split, message".  For at least testing purposes it should spit out the string that was published, and later should actually parse the JSON for the activities an put them into appropriate classes.
> The relevant source code file is: PushActivityConsumer.java, in the split function. Changing:  
> return activitiesList; 
> to
> return activities; 
> Allows a basic pub/sub test to be verified.

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