camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Burgazzoli (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CAMEL-8258) camel-twitter - Support Streaming from User Endpoint including Direct Messages
Date Mon, 29 Feb 2016 09:17:18 GMT

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

Luca Burgazzoli edited comment on CAMEL-8258 at 2/29/16 9:16 AM:
-----------------------------------------------------------------

[~ceefour] I've refactored camel-twitter to support more streaming messages in my own [fork|https://github.com/lburgazzoli/apache-camel/commit/3697671465a3ac386c370796b938bda135a27a9c].

The main change are:

- the body type for stream/* is no more of type twitter4j.Status only but it changes according
to the event received
- there is a new header CamelTwitterEventType which carries the event type (STATUS,  DIRECT_MESSAGE,
FOLLOW/UNFOLLOW, etc)
- there may be more headers according to the vent received i.e. for FOLLOW events there are
two more headers CamelTwitterUserSource, CamelTwitterUserTarget with informationabout the
parties

The implementation is not yet complete but it would be nice to have some feedback/review.





was (Author: lb):
[~ceefour] I've refactored camel-twitter to support more streaming messages in my own [fork|https://github.com/lburgazzoli/apache-camel/commit/9b7df2f125a4b5280a7000fa86d8e757648c5ce7].

The main change are:

- the body type for stream/* is no more of type twitter4j.Status only but it changes according
to the event received
- there is a new header CamelTwitterEventType which carries the event type (STATUS,  DIRECT_MESSAGE,
FOLLOW/UNFOLLOW, etc)
- there may be more headers according to the vent received i.e. for FOLLOW events there are
two more headers CamelTwitterUserSource, CamelTwitterUserTarget with informationabout the
parties

The implementation is not yet complete but it would be nice to have some feedback/review.




> camel-twitter - Support Streaming from User Endpoint including Direct Messages
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-8258
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8258
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-twitter
>    Affects Versions: 2.14.1
>            Reporter: Hendy Irawan
>            Assignee: Luca Burgazzoli
>             Fix For: Future
>
>
> Please support streaming from User endpoint ({{twitter://streaming/filter}} Camel URI?)
including Direct Messages, which is supported by twitter4j but currently ignored by camel-twitter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message