camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett E. Meyer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5430) Remove un-necessary connections to the Twitter API
Date Sun, 08 Jul 2012 17:26:35 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-5430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett E. Meyer updated CAMEL-5430:
----------------------------------

    Attachment: camel-twitter_7-8-12_patch.txt

Patched
                
> Remove un-necessary connections to the Twitter API
> --------------------------------------------------
>
>                 Key: CAMEL-5430
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5430
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-twitter
>            Reporter: Brett E. Meyer
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.10.1
>
>         Attachments: camel-twitter_7-7-12_patch.txt
>
>
> Connects to the Twitter REST API are handled by Twitter4J objects.  These objects should
be singletons within this component, created on-demand as needed.  While working with the
component, I noticed some old code that, as an example, needlessly initialized a connection
to the main API when only the Streaming API was needed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message