Issue with Camel logs

2014-01-16 Thread Ankur
Hi All,

i'm stuck with one issue in which i want to stop camel logs which is
generating on his own. Even i had changed the debug level in log4j.xml from
debug to info. The logs which are coming are somekind of weird.

for e.g 

My route look like this 

route id=attcrService 
   from uri=timer:attcr?period=30m /
to uri=bean:activityCenterService?method=processATTCRApprovals /
/route

After modifying log4j.xml all my logs mentioned in the method are working
fine. 

But i use to get this type of logs 

[1/16/14 6:23:59:089 PST] 0042 SystemOut O 2014-01-16 06:23:59,089
[Camel (camel-1) thread #7 - ManagementLoadTask] DEBUG TimerListenerManager
- Invoking onTimer on
org.apache.camel.management.mbean.ManagedSuspendableRoute@1c95c738


I'm not able to find out what the reason is behind this. Or what should i
change to get rid of this type of logs. As this same line is getting printed
many times just object appended in the end is getting changed.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Issue-with-Camel-logs-tp5746063.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Execute route at specific time

2013-12-05 Thread Ankur
I want to execute camel route at specific time.
for example : route must run at 18:00 hrs EST

Right now i'm using timer object but with that it is running after certain
period which i have defined. Is there any way to execute route at any
specific time.





--
View this message in context: 
http://camel.465427.n5.nabble.com/Execute-route-at-specific-time-tp5744365.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Consuming WSDL file

2013-10-04 Thread Ankur
Hi All,

I'm new to camel  webservices. 
I have one WSDL file which is published on different server. I want to
consume that wsdl file. After retrieving data from WSDL file i need to save
data in Database.

I have to use spring DSL instead of Java DSL. I'm trying with cxf component
but not able to make it work.

Could anyone help me out in this . I just have WSDL url with me nothing
else.

Thanks



--
View this message in context: 
http://camel.465427.n5.nabble.com/Consuming-WSDL-file-tp5740871.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Camel + myBatis Issue

2013-10-04 Thread Ankur
Thank you all for your help.
I'm able to resolve the issues. i have changed my query to achieve this
result



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-myBatis-Issue-tp5740706p5740872.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Camel + myBatis Issue

2013-10-01 Thread Ankur
Hi all,

I am copying data from one datadource to another datasource using mybatis
component.

i achieved it but during insertion i'm getting issues.

how to perform batch insert using myBatis. Any other way as i'm using oracle
database.

Kindly help me to resolve this issue

thanks 




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-myBatis-Issue-tp5740706.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Camel + Ibatis

2013-09-30 Thread Ankur
Hi All,

I want to get whole data from one datasource which I want to insert into
another table at the same time to another datasource
For this i have created two datasource, two session factory and two ibatis
instances.

my route looks like this 
route id=processSelect
from uri=timer:foo?period=20s /
transacted ref=PROPAGATION_REQUIRED /
to uri=mybatisSource:batchSelectProcess?statementType=SelectList /
to uri=mybatisTarget:batchInsertApprovals?statementType=InsertList /
/route 


I'm confused how to write insert statement for the same. As this source will
return List to me but how to refer that list while inserting 

Thanks for your help 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Ibatis-tp5740547.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Camel + Ibatis

2013-09-30 Thread Ankur
I have written my my insert statement like this 

insert id=batchInsertApprovals parameterType=java.util.List 
insert into approvals (APPROVALID, SOURCESYSTEM, APPROVALTYPE, APPROVAL,
SOURCESYSTEMID,
APPROVALDESC, DELEGATEDBY, STATUS, ASSIGNEDDATE, DUEDATE, UPDATEDBY,
UPDATEDON)
values
foreach item=item collection=list open =( separator=, close=)
(
#{item.projectDetails.approvalId},#{item.projectDetails.approvalSystem},#{item.projectDetails.approvalType},#{item.projectDetails.approvalName},
#{item.projectDetails.prismId},
#{item.projectDetails.description},#{item.projectDetails.delegateBy},#{item.projectDetails.status},#{item.projectDetails.createdOn},#{item.projectDetails.dueDate},#{item.projectDetails.assignedApprovercuid},#{item.projectDetails.createdOn})
/foreach
/insert 


Using this i'm getting this error
org.apache.ibatis.binding.BindingException: Parameter '__frch_item_0' not
found. Available parameters are [list] 

I had also tried removing projectDetails from values 

Could you please help me in writing ibatis insert query 

Thanks



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Ibatis-tp5740547p5740562.html
Sent from the Camel - Users mailing list archive at Nabble.com.


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

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


Getting Below Error while Fetching Atom FEeds

2013-09-28 Thread Ankur

I'm Using 2.12.1 (camel) and 3.2.4 (spring) version.


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

Thanks 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Getting-Below-Error-while-Fetching-Atom-FEeds-tp5740287.html
Sent from the Camel - Users mailing list archive at Nabble.com.


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

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


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

2013-09-26 Thread Ankur
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] 0136 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] 0136 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

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

2013-09-26 Thread Ankur
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.