Hi Reji camel-twitter already includes twitter4j-core so no need to include it, the version is 3.0.5 to avoid the error you got.
The class itself is included in the jar, but you can't import it because it's not public. No need for the internal api anyway, the responses/tweets already have what you need. Taariq On Sat, Dec 20, 2014 at 10:15 AM, contactreji <contactr...@gmail.com> wrote: > As of now I have made a temporary work around on this. > I copied the source of the class from following link into my project and I > am not isntantiating the object to access members. Wondering if there is > any > better method by playing around on POM.xml file > > > http://grepcode.com/file/repo1.maven.org/maven2/org.apache.servicemix.bundles/org.apache.servicemix.bundles.twitter4j/3.0.1_1/twitter4j/internal/json/DirectMessageJSONImpl.java?av=h > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Twitter-Consumer-DirectMessage-tp5760940p5760943.html > Sent from the Camel - Users mailing list archive at Nabble.com. >