You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/01/21 08:34:14 UTC

[jira] [Commented] (CAMEL-5984) Specification of the language for the search Consumer and Producer

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

Willem Jiang commented on CAMEL-5984:
-------------------------------------

Applied the patch with thanks to Luca. I just the use the ObjectHelper from camel-core to avoid introducing the dependency of common-lang.
                
> 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