Created
January 31, 2014 15:55
-
-
Save ctataryn/8734827 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from("direct:start").routeId("insiderRoute") | |
.log("Choosing configuration: " + PROPS_FILE) | |
.log("Default Charset: " + Charset.defaultCharset()) | |
.log("Processing feed configuration: " + FEED) | |
.to("direct:getPublishedArticles") | |
.log("Sourcing articles from: " + getFeedFormat(FEED) + FEED_URL + (FEED_URL.contains("?") ? "&" : "?") + "splitEntries=false") | |
.pollEnrich(getFeedFormat(FEED) + ":" + FEED_URL + (FEED_URL.contains("?") ? "&" : "?") + "splitEntries=false") | |
//.marshal().rss() | |
.split(xpath("//item")) | |
Error: | |
Caused by: org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: org.apache.abdera.parser.stax.util.FOMList to the required type: org.w3c.dom.Document with value [<entry xmlns="http://www.w3.org/2005/Atom"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment