You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Preben.Asmussen" <pr...@dr.dk> on 2013/06/07 08:55:21 UTC

Re: Best way for ScheduledBatchPollingConsumer to signal failure

Not working quite as expected The DefalultPollingConsumerPollStrategy loggs
the error as WARN, but i'm not seeing any failed exchages in jmx ??
Shouldn't the bridgeErrorHandler create an empty Exchange with the error
that gets picket up as failed ?
Running on camel v. 2.10.0

 07 Jun. 2013 - 08:01:14,231 WARN
org.apache.camel.impl.DefaultPollingConsumerPollStrategy [Consumer
Consumer[drupalqueue://message_export?consumer.bridgeErrorHandler=true&delay=120s&host=xxxx&&maxMessagesPerPoll=200&password=******&port=443&username=admin]
could not poll endpoint:
Endpoint[drupalqueue://message_export?consumer.bridgeErrorHandler=true&delay=120s&host=xxxx&maxMessagesPerPoll=200&password=******&port=443&username=admin]
caused by: Empty or non-JSON response]
dk.dr.drip.component.drupalqueue.client.HTTPException: Empty or non-JSON
response
	at
dk.dr.drip.component.drupalqueue.client.Client.singleRequest(Client.java:201)
	at dk.dr.drip.component.drupalqueue.client.Client.request(Client.java:115)
	at dk.dr.drip.component.drupalqueue.client.Client.get(Client.java:96)
	at dk.dr.drip.component.drupalqueue.client.Client.get(Client.java:86)
	at
org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:139)
	at
org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:94)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:440)
	at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)




--
View this message in context: http://camel.465427.n5.nabble.com/Best-way-for-ScheduledBatchPollingConsumer-to-signal-failure-tp5732703p5733978.html
Sent from the Camel - Users mailing list archive at Nabble.com.