how does camel handle runtime exceptions?

2011-09-26 Thread Davis Ford
Hi, just curious how would camel handle a runtime exception in this routing example: from("jms:someQueue").beanRef("someBean", "doSomething"); If bean#doSomething() throws a RuntimeException? Is the exception just logged and swallowed? I'm mainly just interested in understanding if it will af

RE: testing camel proxy with a mock camel endpoint?

2011-09-23 Thread Davis Ford
Removing the subclass for CamelTestSupport and instead doing mockEndpoint = camelContext.getEndpoint("mock:queue.incoming"); fixes the issue. -Original Message----- From: Davis Ford [mailto:df...@axeda.com] Sent: Friday, September 23, 2011 4:39 PM To: users@camel.apache.org S

RE: testing camel proxy with a mock camel endpoint?

2011-09-23 Thread Davis Ford
that is -- perhaps it has to do with the test subclassing CamelTestSupport but using spring's JUnit 4 test runner, so maybe they are two different camel context's ? i.e. one loaded in spring, and the other instantiated by CamelTestSupport itself? Any ideas? -Original Message-

testing camel proxy with a mock camel endpoint?

2011-09-23 Thread Davis Ford
Hi, I'm using the camel proxy feature to inject a proxy interface into my class for remoting. Example: So, in deployment the server will be on a remote node. I can wire up a test case like this: @ContextConfiguration(locations={"classpath:applicationConte

RE: camel 2.8.0 with spring 2.5.6?

2011-09-16 Thread Davis Ford
/org/apache/camel/camel-parent/2.4.0/camel-parent-2.4.0.pom you'll see spring was moved up to 3.x Bummer... -Original Message- From: Davis Ford [mailto:df...@axeda.com] Sent: Friday, September 16, 2011 2:05 PM To: users@camel.apache.org Subject: RE: camel 2.8.0 with spring 2.5.6?

RE: camel 2.8.0 with spring 2.5.6?

2011-09-16 Thread Davis Ford
l-context, JMS activemq instance, and posts a message to it with the ProducerTemplate -- this is when the exception above is encountered. -Original Message----- From: Davis Ford [mailto:df...@axeda.com] Sent: Friday, September 16, 2011 1:37 PM To: users@camel.apache.org Subject: RE: camel 2.

RE: camel 2.8.0 with spring 2.5.6?

2011-09-16 Thread Davis Ford
Thanks Brendan - that link seems to imply that you must have spring 3.x for camel-spring-ws -- which I am *not* using. It would be great if I could use a camel 2.8.x release with spring 2.5.6. Again, I'm using camel-spring, camel-core, and camel-jms along with activemq. I guess I just have t

camel 2.8.0 with spring 2.5.6?

2011-09-16 Thread Davis Ford
Hi Camel users, I built a standalone maven project using camel 2.8.0 core, spring, and jms components. The camel deps pull in spring 3.0.5-RELEASE as a dependency. Now, I want to use this new project in another larger, more legacy project that depends heavily on spring 2.5.6. The upgrade from