camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] [Commented] (CAMEL-5985) ClassCastException on SearchConsumer
Date Mon, 21 Jan 2013 05:10:12 GMT


Willem Jiang commented on CAMEL-5985:

I guess you are using some kind of old version of twitter4j lib, as the twitter4j 3.0 getTweets()
returns a List<Status>.
Can you double check the version of the twitter4j-core? 
Please make sure you are using the twitter4j 3.0.

> ClassCastException on SearchConsumer 
> -------------------------------------
>                 Key: CAMEL-5985
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-twitter
>            Reporter: Luca Foppiano
>            Assignee: Willem Jiang
> Using the last SNAPSHOT from SVN, when I try to test the SearchConsumer of the camel-twitter
component I get a ClassCastException on the line 
> List<Status> tweets = qr.getTweets();
> because the qr.getTweets() return a List<Tweet> and not a List<Status>.

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:

View raw message