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

Specification of the language for the search Consumer and Producer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.10.3
    • None
    • camel-twitter
    • None
    • Patch Available
    • Unknown

    Description

      Would be nice to have a parameter, I choosen 'lang' to specify the language a search on twitter is done.

      Something like twitter://search?keywords=camel&lang=es would return all the twits containing camel in Spanish. There is also a constant that can be used in the headers to change at runtime the language ( TwitterConstants.TWITTER_SEARCH_LANGUAGE = CamelTwitterSearchLanguage)

      I have attached a patch for SearchProducer and SearchConsumer.

      Attachments

        Activity

          People

            njiang Willem Jiang
            lfoppiano Luca Foppiano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: