VS: CamelSpringJUnit4ClassRunner with Spring Boot

2014-08-31 Thread user3152723
not integrated with spring boot yet. There is a related ticket here https://issues.apache.org/jira/browse/CAMEL-7699 But as Willem says you are welcome to log a ticket about a camel-spring-boot-test component. On Sat, Aug 30, 2014 at 9:53 PM, user3152723 [hidden email]UrlBlockedError.aspx wrote: I’m

CamelSpringJUnit4ClassRunner with Spring Boot

2014-08-30 Thread user3152723
I’m been trying to use Camel with . Spring Boot, . test Routes with “@RunWith(CamelSpringJUnit4ClassRunner.class)” .with@Produce(uri = direct:in) private ProducerTemplate producerTemplate; .and@EndpointInject(uri = mock:out) private MockEndpoint out; I’m not an experienced Spring

Re: CamelSpringJUnit4ClassRunner with Spring Boot

2014-08-30 Thread user3152723
The problem is that injections are not workin, resulting to NullPointerException. .with@Produce(uri = direct:in) private ProducerTemplate producerTemplate; .and@EndpointInject(uri = mock:out) private MockEndpoint out; -- View this message in context:

Unit test XA enabled route

2014-07-24 Thread user3152723
Hello, Could someone please help me to get started: I’m looking for (working) example / tutorial on how to set up junit test for Camel route with jms and odbc endpoints (connetion pools) - USING BLUEPRINT OSGi (Karaf) and XA required. (Solution can be Fuse specific.) As an alternative, would it

Re: Unit test XA enabled route

2014-07-24 Thread user3152723
... tutorial on how to set up junit test for Camel route with jms and odbc endpoints (connetion pools) Thanks . osgi novice -- View this message in context: http://camel.465427.n5.nabble.com/Unit-test-XA-enabled-route-tp5754352p5754353.html Sent from the Camel - Users mailing list

Re: Unit test XA enabled route

2014-07-24 Thread user3152723
Third try to fix it right : db connetion with JDBC, not odbc . -- View this message in context: http://camel.465427.n5.nabble.com/Unit-test-XA-enabled-route-tp5754352p5754354.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Unit test XA enabled route

2014-07-24 Thread user3152723
If you choose to run your integration (api) components in osgi (- Karaf - Fuse), you simply have to (that is: you have no alternative but) forget about TDD. May be not in theory, but take a dev team of Spring specialists, who can’t but start coding test cases to define required functionality…

Re: What would be the benefits of running Camle on osgi?

2014-07-23 Thread user3152723
Tank you for the answers! I can now see that I mixed up names and things and frameworks. Fuse is based on Karaf; when you start (RedHat) Fuse you meet Karaf console. And about testing Camel osgi-blueprint routes: Check Camel in Action: in the osgi example of the book, there is not even

VS: What would be the benefits of running Camle on osgi?

2014-07-23 Thread user3152723
, user3152723 [hidden email]UrlBlockedError.aspx wrote: Tank you for the answers! I can now see that I mixed up names and things and frameworks. Fuse is based on Karaf; when you start (RedHat) Fuse you meet Karaf console. And about testing Camel osgi-blueprint routes: Check Camel in Action

What would be the benefits of running Camle on osgi?

2014-07-22 Thread user3152723
It is recommended to use blueprint with Camel if you run your routes on osgi. But what would you miss out if your choose to run Camel routes in / imbedded in Spring (SpringBoot) in stead of Karaf? You anyway get the ease of testing with Spring. Using Fuse : Camel, Activemq, and starting with