You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Ankur <an...@accenture.com> on 2013/09/26 13:30:33 UTC

CAmel : Using Springg DSL to fetch atom feeds. But not working

Hi,

I'm using *atom* component to fetch feeds using Spring DSL but getting below
error. 
Please help me with this error hope i'm not doing anything wrong.
I have already added all the dependencies required for fetching feeds. If
particular version is need for any dependency kindly let me know
Error

[9/26/13 16:38:13:136 IST] 00000136 SystemOut     O
[ogspot.com/feeds/posts/default] AtomEntryPollingConsumer       WARN 
Consumer Consumer[atom://http://macstrac.blogspot.com/feeds/posts/default]
failed polling endpoint:
Endpoint[atom://http://macstrac.blogspot.com/feeds/posts/default]. Will try
again at next poll. Caused by: [java.lang.NoSuchMethodError -
org/apache/axiom/om/impl/llom/OMProcessingInstructionImpl.<init>(Lorg/apache/axiom/om/OMContainer;Ljava/lang/String;Ljava/lang/String;Lorg/apache/axiom/om/OMFactory;Z)V]
java.lang.NoSuchMethodError:
org/apache/axiom/om/impl/llom/OMProcessingInstructionImpl.<init>(Lorg/apache/axiom/om/OMContainer;Ljava/lang/String;Ljava/lang/String;Lorg/apache/axiom/om/OMFactory;Z)V
        at
org.apache.abdera.parser.stax.FOMProcessingInstruction.<init>(FOMProcessingInstruction.java:33)
        at
org.apache.abdera.parser.stax.FOMFactory.createOMProcessingInstruction(FOMFactory.java:697)
        at
org.apache.axiom.om.impl.builder.StAXOMBuilder.createPI(StAXOMBuilder.java:538)
        at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:282)
        at org.apache.abdera.parser.stax.FOMBuilder.next(FOMBuilder.java:93)
        at
org.apache.abdera.parser.stax.FOMBuilder.getFomDocument(FOMBuilder.java:117)
        at
org.apache.abdera.parser.stax.FOMParser.getDocument(FOMParser.java:79)
        at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:191)
        at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:124)
        at
org.apache.abdera.util.AbstractParser.parse(AbstractParser.java:65)
        at
org.apache.camel.component.atom.AtomUtils.parseDocument(AtomUtils.java:60)
        at
org.apache.camel.component.atom.AtomEntryPollingConsumer.getDocument(AtomEntryPollingConsumer.java:43)
        at
org.apache.camel.component.atom.AtomEntryPollingConsumer.createFeed(AtomEntryPollingConsumer.java:65)
        at
org.apache.camel.component.feed.FeedEntryPollingConsumer.poll(FeedEntryPollingConsumer.java:47)
        at
org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:187)
        at
org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:114)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
        at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:328)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:161)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:109)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:192)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:216)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
        at java.lang.Thread.run(Thread.java:769)
[9/26/13 16:39:13:356 IST] 00000136 SystemOut     O
[ogspot.com/feeds/posts/default] AtomEntryPollingConsumer       WARN 
Consumer Consumer[atom://http://macstrac.blogspot.com/feeds/posts/default]
failed polling endpoint:
Endpoint[atom://http://macstrac.blogspot.com/feeds/posts/default]. Will try
again at next poll. Caused by: [java.lang.NoSuchMethodError -
org/apache/axiom/om/impl/llom/OMProcessingInstructionImpl.<init>(Lorg/apache/axiom/om/OMContainer;Ljava/lang/String;Ljava/lang/String;Lorg/apache/axiom/om/OMFactory;Z)V]
java.lang.NoSuchMethodError:
org/apache/axiom/om/impl/llom/OMProcessingInstructionImpl.<init>(Lorg/apache/axiom/om/OMContainer;Ljava/lang/String;Ljava/lang/String;Lorg/apache/axiom/om/OMFactory;Z)V
        at
org.apache.abdera.parser.stax.FOMProcessingInstruction.<init>(FOMProcessingInstruction.java:33)
        at
org.apache.abdera.parser.stax.FOMFactory.createOMProcessingInstruction(FOMFactory.java:697)
        at
org.apache.axiom.om.impl.builder.StAXOMBuilder.createPI(StAXOMBuilder.java:538)
        at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:282)
        at org.apache.abdera.parser.stax.FOMBuilder.next(FOMBuilder.java:93)
        at
org.apache.abdera.parser.stax.FOMBuilder.getFomDocument(FOMBuilder.java:117)
        at
org.apache.abdera.parser.stax.FOMParser.getDocument(FOMParser.java:79)
        at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:191)
        at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:124)
        at
org.apache.abdera.util.AbstractParser.parse(AbstractParser.java:65)
        at
org.apache.camel.component.atom.AtomUtils.parseDocument(AtomUtils.java:60)
        at
org.apache.camel.component.atom.AtomEntryPollingConsumer.getDocument(AtomEntryPollingConsumer.java:43)
        at
org.apache.camel.component.atom.AtomEntryPollingConsumer.createFeed(AtomEntryPollingConsumer.java:65)
        at
org.apache.camel.component.feed.FeedEntryPollingConsumer.poll(FeedEntryPollingConsumer.java:47)
        at
org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:187)
        at
org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:114)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
        at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:328)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:161)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:109)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:192)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:216)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
 




--
View this message in context: http://camel.465427.n5.nabble.com/CAmel-Using-Springg-DSL-to-fetch-atom-feeds-But-not-working-tp5740228.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CAmel : Using Springg DSL to fetch atom feeds. But not working

Posted by Ankur <an...@accenture.com>.
Hi

Thanks for pointing me to the classpath clashes. Though its not on
"axiom-api", it was on "slf4j-log4j". 
After removing that clashes i resolved that. 
But i started getting new error.
Could you help me on this 

org.apache.abdera.parser.ParseException:
java.lang.ArrayIndexOutOfBoundsException
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:128)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.util.AbstractParser.parse(AbstractParser.java:65)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.camel.component.atom.AtomUtils.parseDocument(AtomUtils.java:60)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.camel.component.atom.AtomEntryPollingConsumer.getDocument(AtomEntryPollingConsumer.java:43)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.camel.component.atom.AtomEntryPollingConsumer.createFeed(AtomEntryPollingConsumer.java:65)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.camel.component.feed.FeedEntryPollingConsumer.poll(FeedEntryPollingConsumer.java:47)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:187)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:114)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:328)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:161)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:109)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:192)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:216)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.lang.Thread.run(Thread.java:769)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R Caused by:
java.lang.ArrayIndexOutOfBoundsException
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.io.PushbackInputStream.unread(PushbackInputStream.java:229)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.i18n.text.io.DynamicPushbackInputStream.unread(DynamicPushbackInputStream.java:91)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.i18n.text.io.PeekAheadInputStream.peek(PeekAheadInputStream.java:61)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.i18n.text.io.PeekAheadInputStream.peek(PeekAheadInputStream.java:52)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.i18n.text.io.CharsetSniffingInputStream.detectEncoding(CharsetSniffingInputStream.java:110)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.parser.stax.util.FOMSniffingInputStream.detectEncoding(FOMSniffingInputStream.java:39)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.i18n.text.io.CharsetSniffingInputStream.<init>(CharsetSniffingInputStream.java:81)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.i18n.text.io.CharsetSniffingInputStream.<init>(CharsetSniffingInputStream.java:74)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.parser.stax.util.FOMSniffingInputStream.<init>(FOMSniffingInputStream.java:35)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:107)
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      ... 16 more




--
View this message in context: http://camel.465427.n5.nabble.com/CAmel-Using-Springg-DSL-to-fetch-atom-feeds-But-not-working-tp5740228p5740247.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CAmel : Using Springg DSL to fetch atom feeds. But not working

Posted by Babak Vahdat <ba...@swissonline.ch>.
Hi

As Christian has already said, the axiom jar version being on the classpath
is clashing, e.g. camel-atom 2.12.1 uses axiom version 1.2.14, that's the
jar "axiom-api-1.2.14.jar".

Maybe try to find out which exact version of this jar you have on the
classpath as your app is running, e.g. using 'mvn dependency:tree' etc.

Babak


Ankur wrote
> Its a maven project and i am using 2.12.1 (camel)  and 3.2.4 (spring) 
> version. There are no dependency clashes on classpath.





--
View this message in context: http://camel.465427.n5.nabble.com/CAmel-Using-Springg-DSL-to-fetch-atom-feeds-But-not-working-tp5740228p5740241.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CAmel : Using Springg DSL to fetch atom feeds. But not working

Posted by Ankur <an...@accenture.com>.
Getting new error now 

Kindly help me to resolve this 


org.apache.abdera.parser.ParseException:
java.lang.ArrayIndexOutOfBoundsException 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:128) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.util.AbstractParser.parse(AbstractParser.java:65) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.camel.component.atom.AtomUtils.parseDocument(AtomUtils.java:60) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.camel.component.atom.AtomEntryPollingConsumer.getDocument(AtomEntryPollingConsumer.java:43) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.camel.component.atom.AtomEntryPollingConsumer.createFeed(AtomEntryPollingConsumer.java:65) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.camel.component.feed.FeedEntryPollingConsumer.poll(FeedEntryPollingConsumer.java:47) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:187) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:114) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:328) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:161) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:109) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:192) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:216) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.lang.Thread.run(Thread.java:769) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R Caused by:
java.lang.ArrayIndexOutOfBoundsException 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
java.io.PushbackInputStream.unread(PushbackInputStream.java:229) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.i18n.text.io.DynamicPushbackInputStream.unread(DynamicPushbackInputStream.java:91) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.i18n.text.io.PeekAheadInputStream.peek(PeekAheadInputStream.java:61) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.i18n.text.io.PeekAheadInputStream.peek(PeekAheadInputStream.java:52) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.i18n.text.io.CharsetSniffingInputStream.detectEncoding(CharsetSniffingInputStream.java:110) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.parser.stax.util.FOMSniffingInputStream.detectEncoding(FOMSniffingInputStream.java:39) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.i18n.text.io.CharsetSniffingInputStream.<init>(CharsetSniffingInputStream.java:81) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.i18n.text.io.CharsetSniffingInputStream.<init>(CharsetSniffingInputStream.java:74) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.parser.stax.util.FOMSniffingInputStream.<init>(FOMSniffingInputStream.java:35) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      at
org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:107) 
[9/26/13 20:22:44:902 IST] 000001bc SystemErr     R      ... 16 more 


Thanks



--
View this message in context: http://camel.465427.n5.nabble.com/CAmel-Using-Springg-DSL-to-fetch-atom-feeds-But-not-working-tp5740228p5740294.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CAmel : Using Springg DSL to fetch atom feeds. But not working

Posted by Christian Müller <ch...@gmail.com>.
java.lang.NoSuchMethodError means you do not use the right Axiom version.

Best,
Christian
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Thu, Sep 26, 2013 at 3:33 PM, Ankur <an...@accenture.com>wrote:

> Its a maven project and i am using 2.12.1 (camel)  and 3.2.4 (spring)
> version. There are no dependency clashes on classpath.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/CAmel-Using-Springg-DSL-to-fetch-atom-feeds-But-not-working-tp5740228p5740239.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Re: CAmel : Using Springg DSL to fetch atom feeds. But not working

Posted by Ankur <an...@accenture.com>.
Its a maven project and i am using 2.12.1 (camel)  and 3.2.4 (spring) 
version. There are no dependency clashes on classpath.



--
View this message in context: http://camel.465427.n5.nabble.com/CAmel-Using-Springg-DSL-to-fetch-atom-feeds-But-not-working-tp5740228p5740239.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CAmel : Using Springg DSL to fetch atom feeds. But not working

Posted by Christian Posta <ch...@gmail.com>.
what version of camel are you using and are there any dependency version
clashes on the classpath?


On Thu, Sep 26, 2013 at 4:30 AM, Ankur <an...@accenture.com>wrote:

> Hi,
>
> I'm using *atom* component to fetch feeds using Spring DSL but getting
> below
> error.
> Please help me with this error hope i'm not doing anything wrong.
> I have already added all the dependencies required for fetching feeds. If
> particular version is need for any dependency kindly let me know
> Error
>
> [9/26/13 16:38:13:136 IST] 00000136 SystemOut     O
> [ogspot.com/feeds/posts/default] AtomEntryPollingConsumer       WARN
> Consumer Consumer[atom://http://macstrac.blogspot.com/feeds/posts/default]
> failed polling endpoint:
> Endpoint[atom://http://macstrac.blogspot.com/feeds/posts/default]. Will
> try
> again at next poll. Caused by: [java.lang.NoSuchMethodError -
>
> org/apache/axiom/om/impl/llom/OMProcessingInstructionImpl.<init>(Lorg/apache/axiom/om/OMContainer;Ljava/lang/String;Ljava/lang/String;Lorg/apache/axiom/om/OMFactory;Z)V]
> java.lang.NoSuchMethodError:
>
> org/apache/axiom/om/impl/llom/OMProcessingInstructionImpl.<init>(Lorg/apache/axiom/om/OMContainer;Ljava/lang/String;Ljava/lang/String;Lorg/apache/axiom/om/OMFactory;Z)V
>         at
>
> org.apache.abdera.parser.stax.FOMProcessingInstruction.<init>(FOMProcessingInstruction.java:33)
>         at
>
> org.apache.abdera.parser.stax.FOMFactory.createOMProcessingInstruction(FOMFactory.java:697)
>         at
>
> org.apache.axiom.om.impl.builder.StAXOMBuilder.createPI(StAXOMBuilder.java:538)
>         at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:282)
>         at
> org.apache.abdera.parser.stax.FOMBuilder.next(FOMBuilder.java:93)
>         at
>
> org.apache.abdera.parser.stax.FOMBuilder.getFomDocument(FOMBuilder.java:117)
>         at
> org.apache.abdera.parser.stax.FOMParser.getDocument(FOMParser.java:79)
>         at
> org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:191)
>         at
> org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:124)
>         at
> org.apache.abdera.util.AbstractParser.parse(AbstractParser.java:65)
>         at
> org.apache.camel.component.atom.AtomUtils.parseDocument(AtomUtils.java:60)
>         at
>
> org.apache.camel.component.atom.AtomEntryPollingConsumer.getDocument(AtomEntryPollingConsumer.java:43)
>         at
>
> org.apache.camel.component.atom.AtomEntryPollingConsumer.createFeed(AtomEntryPollingConsumer.java:65)
>         at
>
> org.apache.camel.component.feed.FeedEntryPollingConsumer.poll(FeedEntryPollingConsumer.java:47)
>         at
>
> org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:187)
>         at
>
> org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:114)
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
>         at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:328)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:161)
>         at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:109)
>         at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:192)
>         at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:216)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
>         at java.lang.Thread.run(Thread.java:769)
> [9/26/13 16:39:13:356 IST] 00000136 SystemOut     O
> [ogspot.com/feeds/posts/default] AtomEntryPollingConsumer       WARN
> Consumer Consumer[atom://http://macstrac.blogspot.com/feeds/posts/default]
> failed polling endpoint:
> Endpoint[atom://http://macstrac.blogspot.com/feeds/posts/default]. Will
> try
> again at next poll. Caused by: [java.lang.NoSuchMethodError -
>
> org/apache/axiom/om/impl/llom/OMProcessingInstructionImpl.<init>(Lorg/apache/axiom/om/OMContainer;Ljava/lang/String;Ljava/lang/String;Lorg/apache/axiom/om/OMFactory;Z)V]
> java.lang.NoSuchMethodError:
>
> org/apache/axiom/om/impl/llom/OMProcessingInstructionImpl.<init>(Lorg/apache/axiom/om/OMContainer;Ljava/lang/String;Ljava/lang/String;Lorg/apache/axiom/om/OMFactory;Z)V
>         at
>
> org.apache.abdera.parser.stax.FOMProcessingInstruction.<init>(FOMProcessingInstruction.java:33)
>         at
>
> org.apache.abdera.parser.stax.FOMFactory.createOMProcessingInstruction(FOMFactory.java:697)
>         at
>
> org.apache.axiom.om.impl.builder.StAXOMBuilder.createPI(StAXOMBuilder.java:538)
>         at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:282)
>         at
> org.apache.abdera.parser.stax.FOMBuilder.next(FOMBuilder.java:93)
>         at
>
> org.apache.abdera.parser.stax.FOMBuilder.getFomDocument(FOMBuilder.java:117)
>         at
> org.apache.abdera.parser.stax.FOMParser.getDocument(FOMParser.java:79)
>         at
> org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:191)
>         at
> org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:124)
>         at
> org.apache.abdera.util.AbstractParser.parse(AbstractParser.java:65)
>         at
> org.apache.camel.component.atom.AtomUtils.parseDocument(AtomUtils.java:60)
>         at
>
> org.apache.camel.component.atom.AtomEntryPollingConsumer.getDocument(AtomEntryPollingConsumer.java:43)
>         at
>
> org.apache.camel.component.atom.AtomEntryPollingConsumer.createFeed(AtomEntryPollingConsumer.java:65)
>         at
>
> org.apache.camel.component.feed.FeedEntryPollingConsumer.poll(FeedEntryPollingConsumer.java:47)
>         at
>
> org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:187)
>         at
>
> org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:114)
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
>         at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:328)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:161)
>         at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:109)
>         at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:192)
>         at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:216)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/CAmel-Using-Springg-DSL-to-fetch-atom-feeds-But-not-working-tp5740228.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta