Re: Camel route stops sending messages

2011-05-07 Thread Filippo Balicchia
Does your splunk accept you connection ? >From stacktrace seems that refused your connection 2011-05-07 12:41:47.042077500 Caused by: java.net.ConnectException: Connection refused2011-05-07 12:41:47.042078500   at --Filippo 2011/5/7 Tom Howe : > I have a simple java app that collect files

Camel route stops sending messages

2011-05-07 Thread Tom Howe
I have a simple java app that collect files of disk, converts the [json] contents and then forwards it to a splunk instance over tcp using mina. http://camel.apache.org/schema/spring";> input.endpoint = file:

Re: Camel CommonJ component for Camel running in jee servers

2011-05-07 Thread preben
Coverage will be fine I guess since it's part of CamelContext, and use in Route execution, but I was expecting to find a single unittest that is responsible for testing DefaultExecuterServiceStrategy. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CommonJ-component-f

Necessity of transactional JMS component

2011-05-07 Thread Hanson
This is a general discussion of some common senses. I just wonder what's the necessity of declaring a JMS component as transactional basically. If not, when a JMS to JMS route fails, will the message got lost, in case I have a DefaultErrorHandler and set redelivery attempts to -1? What about a Fi

Re: Conceptual 'correctness' of using Camel Unit Tests

2011-05-07 Thread Claus Ibsen
Hi I managed to cut more time in camel-core and camel-spring. Now I am down to 21m for camel-core and 7m for camel-spring, when running on my laptop. 1) The trick is to lazy load the type converters. And if you use custom type converters in unit tests, then put them into small packages so Camel d

Re: Camel CommonJ component for Camel running in jee servers

2011-05-07 Thread Claus Ibsen
On Sat, May 7, 2011 at 3:50 PM, preben wrote: > Hi Claus > Just started looking at testcoverage for the existing > DefaultExecutorServiceStrategy. Seems pretty much missing - or are I'm wrong > ? > Try running from camel-core mvn cobertura:cobertura And check the generated report and see wh

Re: Camel CommonJ component for Camel running in jee servers

2011-05-07 Thread preben
Hi Claus Just started looking at testcoverage for the existing DefaultExecutorServiceStrategy. Seems pretty much missing - or are I'm wrong ? /preben -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CommonJ-component-for-Camel-running-in-jee-servers-tp4375746p4378410.htm

Re: Conceptual 'correctness' of using Camel Unit Tests

2011-05-07 Thread Claus Ibsen
Hi I have committed some improvements to trunk that all together speedup unit testing. So lets keep an eye on Hudson to see if its faster. The last one before those changes was 272: And it took 3h2m to complete https://hudson.apache.org/hudson/job/Camel.trunk.fulltest/272/ On Fri, May 6, 2011