Re: Camel - error handling

2012-06-27 Thread dgallagher
Thanks Guys If I use the global exception handling (e.g. onException) with Java DSL, do i need to define a separate route that contains the onException code so that every route in the context will pick it up? Thanks Damien -- View this message in context: http://camel.465427.n5.nabble.com/Camel

Camel - error handling

2012-06-26 Thread dgallagher
Hi from reading through camel, there seems like many ways to perform different operations. I have a specific question around error handling and what the general consensus >From what I can see, there is the dead letter channel, try, catch, finally, global exceptions etc >From an application standp

Re: Error Running JUnit Test

2012-06-26 Thread dgallagher
Hi I think I have found the issue. I narrowed down the dependencies in the new maven module that I imported and found the offending dependencies in that module. It turns out the version of xerces that was being loaded by some of the dependencies was causing the problem. By exluding those xerces de

Re: Error Running JUnit Test

2012-06-26 Thread dgallagher
Hi Claus I am using Java 6, i just checked my classpath to make sure and it's Java 6 Thanks Damien -- View this message in context: http://camel.465427.n5.nabble.com/Error-Running-JUnit-Test-tp5715106p5715108.html Sent from the Camel - Users mailing list archive at Nabble.com.

Error Running JUnit Test

2012-06-26 Thread dgallagher
Hi I ran into an issue while running my junit tests, the error I get is as follows org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 2844 in XML document from class path resource [config/domesticCamel-context.xml] is invalid; nested exception is org.xml.sax.SAXParseExcept

Re: Test Case - Quartz to a Custom bean

2012-06-26 Thread dgallagher
Thanks Claus i used the AdbiceWith and it has satisfied my requirements Thanks Damien -- View this message in context: http://camel.465427.n5.nabble.com/Test-Case-Quartz-to-a-Custom-bean-tp5715085p5715105.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Test Case - Quartz to a Custom bean

2012-06-25 Thread dgallagher
Would it be recommend to use the following section in the url below http://camel.apache.org/mock.html and section Mocking endpoints and skip sending to original endpoint If i mock my custom bean and then call the mock and ignore the original would that be a sufficient use case? Obviously the bean

Test Case - Quartz to a Custom bean

2012-06-25 Thread dgallagher
Hi My camel route kicks off via quartz and I call a method on a custom bean. I was trying to mock the custom bean but was running into difficulty. Could anyone direct me to a sample within the camel code samples that shows how to effectively mock a custom bean? Thanks -- View this message in