Details
Description
TwitterConverter.java at [1] line 49, calls DirectMessage.getSenderScreenName() but it is deprecated [2] and its implementation DirectMessageJSONImpl [3] throws UnsupportedOperationException. To fix, just call getSenderId() instead.
1. https://github.com/apache/camel/blob/master/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/util/TwitterConverter.java#L49
2. https://github.com/Twitter4J/Twitter4J/blob/4.0.7/twitter4j-core/src/main/java/twitter4j/DirectMessage.java#L47
3. https://github.com/Twitter4J/Twitter4J/blob/4.0.7/twitter4j-core/src/internal-json/java/twitter4j/DirectMessageJSONImpl.java#L254
Attachments
Issue Links
- links to