[
https://issues.apache.org/jira/browse/CAMEL-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang resolved CAMEL-5984.
---------------------------------
Resolution: Fixed
> Specification of the language for the search Consumer and Producer
> ------------------------------------------------------------------
>
> Key: CAMEL-5984
> URL: https://issues.apache.org/jira/browse/CAMEL-5984
> Project: Camel
> Issue Type: Improvement
> Components: camel-twitter
> Affects Versions: 2.10.3
> Reporter: Luca Foppiano
> Assignee: Willem Jiang
> Priority: Minor
> Attachments:
> enabling_the_language_specification_for_Search_producer_and_consumer.patch
>
>
> 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.
--
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