You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Ashwin Karpe <ak...@fusesource.com> on 2011/01/12 01:29:20 UTC

Re: RSS component doesn't work

Hi,

can you please indicate how you are running this (JUnit, Java Mainline,
Spring, Tomcat etc), camel version and other relevant details.

Not sure what your environment is... In the absence of this data, my best
guess is that you are missing a RSS dependency for camel-rss.

You might also want to check the log file with DEBUG setting and see if
there is an error in the log. 

Cheers,

Ashwin...


-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com
http://opensourceknowledge.blogspot.com 
---------------------------------------------------------
-- 
View this message in context: http://camel.465427.n5.nabble.com/RSS-component-doesn-t-work-tp3336521p3337555.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: RSS component doesn't work

Posted by ad86 <di...@fh-brandenburg.de>.
Hi,

ok, now the rss-component works. The problem was to find and install all
dependencies. It was not enough to install only camel-rss and rome.

ad86 
-- 
View this message in context: http://camel.465427.n5.nabble.com/RSS-component-doesn-t-work-tp3336521p3351165.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: RSS component doesn't work

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Jan 12, 2011 at 2:16 PM, ad86 <di...@fh-brandenburg.de> wrote:
>
> Hi,
>
> the project is an assessment in my study programme, and we should use rss.
> My professor doesn't know what is the error, so asked here. To my system it
> works only local and at the moment there is no server. So I use only
> Eclipse, where I programme in Java. I added Camel to my project and test it
> and it doesn't work and I don'n know why. When is write
> 'from("rss2:file.....")' I got the error "Failed to create route route1",
> but only with rss, there is no error.
>

When it fails it report some more information why it failed.

And make sure you got all the JARs on the classpath. You need all the
JARs which has (compile) listed


[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: RSS
[INFO]    task-segment: [dependency:list]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:list {execution: default-cli}]
[INFO]
[INFO] The following files have been resolved:
[INFO]    aopalliance:aopalliance:jar:1.0:test
[INFO]    commons-codec:commons-codec:jar:1.4:compile
[INFO]    commons-logging:commons-logging:jar:1.1.1:test
[INFO]    commons-logging:commons-logging-api:jar:1.1:compile
[INFO]    jaxen:jaxen:jar:1.1.1:compile
[INFO]    jdom:jdom:jar:1.0:compile
[INFO]    junit:junit:jar:4.8.1:test
[INFO]    log4j:log4j:jar:1.2.16:test
[INFO]    org.apache.abdera:abdera-core:jar:0.4.0-incubating:compile
[INFO]    org.apache.abdera:abdera-i18n:jar:0.4.0-incubating:compile
[INFO]    org.apache.abdera:abdera-parser:jar:0.4.0-incubating:compile
[INFO]    org.apache.camel:camel-atom:jar:2.6-SNAPSHOT:compile
[INFO]    org.apache.camel:camel-core:jar:2.6-SNAPSHOT:compile
[INFO]    org.apache.camel:camel-spring:jar:2.6-SNAPSHOT:test
[INFO]    org.apache.camel:camel-test:jar:2.6-SNAPSHOT:test
[INFO]    org.apache.geronimo.specs:geronimo-activation_1.0.2_spec:jar:1.1:compile
[INFO]    org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.1:compile
[INFO]    org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.2:compile
[INFO]    org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
[INFO]    org.apache.ws.commons.axiom:axiom-api:jar:1.2.8:compile
[INFO]    org.apache.ws.commons.axiom:axiom-impl:jar:1.2.8:compile
[INFO]    org.codehaus.woodstox:wstx-asl:jar:3.2.1:compile
[INFO]    org.fusesource.commonman:commons-management:jar:1.0:compile
[INFO]    org.springframework:spring-aop:jar:3.0.5.RELEASE:test
[INFO]    org.springframework:spring-asm:jar:3.0.5.RELEASE:test
[INFO]    org.springframework:spring-beans:jar:3.0.5.RELEASE:test
[INFO]    org.springframework:spring-context:jar:3.0.5.RELEASE:test
[INFO]    org.springframework:spring-core:jar:3.0.5.RELEASE:test
[INFO]    org.springframework:spring-expression:jar:3.0.5.RELEASE:test
[INFO]    org.springframework:spring-tx:jar:3.0.5.RELEASE:test
[INFO]    rome:rome:jar:1.0:compile
[INFO]    xerces:xercesImpl:jar:2.9.1:compile
[INFO]    xml-apis:xml-apis:jar:1.3.02:compile
[INFO]


> The camel-rss-2.5.0 like other jars are includes in the Eclipse project.
>
> Thanks
>
> ad86
> --
> View this message in context: http://camel.465427.n5.nabble.com/RSS-component-doesn-t-work-tp3336521p3338095.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Re: RSS component doesn't work

Posted by ad86 <di...@fh-brandenburg.de>.
Hi,

the project is an assessment in my study programme, and we should use rss.
My professor doesn't know what is the error, so asked here. To my system it
works only local and at the moment there is no server. So I use only
Eclipse, where I programme in Java. I added Camel to my project and test it
and it doesn't work and I don'n know why. When is write
'from("rss2:file.....")' I got the error "Failed to create route route1",
but only with rss, there is no error.

The camel-rss-2.5.0 like other jars are includes in the Eclipse project.

Thanks

ad86
-- 
View this message in context: http://camel.465427.n5.nabble.com/RSS-component-doesn-t-work-tp3336521p3338095.html
Sent from the Camel - Users mailing list archive at Nabble.com.