ActiveMQ and Camel unit test with embedded broker

2015-07-06 Thread Ted
Hi, I've created a Stackoverflow question here http://stackoverflow.com/questions/31248237/activemq-and-camel-unit-test-with-embedded-broker. If any of you good people could comment on where I'm going wrong I would really appreciate it. Thanks Ted -- View this message in context: http

Re: Consuming messages in camel cdi

2015-07-03 Thread Ted
anyone managed to resolve this or am I missing something? Thanks Ted -- View this message in context: http://camel.465427.n5.nabble.com/Consuming-messages-in-camel-cdi-tp5748489p5768848.html Sent from the Camel - Users mailing list archive at Nabble.com.

CamelTestSupport and POJO consumer

2015-06-26 Thread Ted
Hi, Hopefully an easy one to answer but I've been unable to find the answer myself. I've created a test class that extends CamelTestSupport. I have a POJO class with a method that is annotated with @Consume(uri=direct:someEndpoint). The problem is that when I use a producer template in my unit

HTTP OPTIONS

2015-04-23 Thread Ted
Then the ServletRestServletResolveConsumerStrategy class is not able to find a unique match because both the GET and the PUT methods are matched and the consumer sees a 404. Is there something I'm missing? Ted -- View this message in context: http://camel.465427.n5.nabble.com/HTTP-OPTIONS-tp5766194.html Sent from the Camel - Users

Re: HTTP OPTIONS

2015-04-23 Thread Ted
I should have mentioned that I am using the Servlet component and Camel 2.15.1. As a quick hack I added the following code to the end of the method ServletRestServletResolveConsumerStrategy.resolve(HttpServletRequest request, MapString, HttpConsumer consumers) if (answer ==

Re: Bindy running within a WAR

2015-03-31 Thread Ted
Thanks, I've created a PackageScanClassResolver for my project that works with WAR files. In the documentation http://camel.apache.org/pluggable-class-resolvers.html it says I simply need to create a spring bean but when I tried the bean was never referenced. I had a quick look in

Re: Bindy running within a WAR

2015-03-31 Thread Ted
Okay, thanks Claus. -- View this message in context: http://camel.465427.n5.nabble.com/Bindy-running-within-a-WAR-tp5765035p5765084.html Sent from the Camel - Users mailing list archive at Nabble.com.

Bindy running within a WAR

2015-03-30 Thread Ted
Hi, I have a self executable Spring Boot (1.2.2) and Camel Boot (2.15.0) application built as a WAR. My route makes use of Bindy to unmarshal CSV to my object class. Everything work well when I run the code directly using Maven (mvn spring-boot:run) or if I run using Eclipse. However if I