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
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
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:
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
... 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
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.
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…
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
, 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
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
10 matches
Mail list logo