Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5430

Remove un-necessary connections to the Twitter API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.10.1, 2.11.0
    • camel-twitter
    • None
    • Patch Available
    • Unknown

    Description

      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.

      Attachments

        1. camel-twitter_7-7-12_patch.txt
          16 kB
          Brett E. Meyer

        Activity

          People

            davsclaus Claus Ibsen
            3riverdev Brett E. Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: