Oh thanks! I was going to raise a jira issue after I verified it worked on
my end.
I removed the extends CamelTestSupport
and removed the
createRouteBuilder in the test class so the route is being created by the
"production" route builder instead.
it worked.
I would be very happy if CamelTest
Hi
I logged a ticket to not forget about this, to see if we can improve
it (and detect that the class is IoC'ed by Spring / Spring-Boot and
then avoid the 2x IoC
https://issues.apache.org/jira/browse/CAMEL-12389
On Tue, Mar 20, 2018 at 4:15 PM, Claus Ibsen wrote:
> Hi
>
> Yeah for SB then it ten
Hi
Yeah for SB then it tend to not do that, see the couple of spring-boot
testing examples here
https://github.com/camelinaction/camelinaction2/tree/master/chapter9
Your Camel routes tend to be in their own classes, that you would run
"in production".
What you do with the embedded inlined route
Oh really? So would you suggest I just don’t extend any base class at all?
On Tue, Mar 20, 2018 at 10:53 AM Claus Ibsen wrote:
> On Tue, Mar 20, 2018 at 3:21 PM, Wilson MacGyver
> wrote:
> > Oh I didn’t know that there was CamelSpringTestSupport! Thank you! Will
> try
> > it
> >
>
> Just a mind
On Tue, Mar 20, 2018 at 3:21 PM, Wilson MacGyver wrote:
> Oh I didn’t know that there was CamelSpringTestSupport! Thank you! Will try
> it
>
Just a mind that CamelSpringTestSupport was created many years ago
before Spring Boot,
and thus is more suitable for old fashioned Spring apps such as WARs
Oh I didn’t know that there was CamelSpringTestSupport! Thank you! Will try
it
On Tue, Mar 20, 2018 at 6:09 AM Claus Ibsen wrote:
> Hi
>
> Okay so the issue is that you have a spring-boot application and you
> extend CamelTestSupport which performs some initialization that happen
> to do bean po
Hi
Okay so the issue is that you have a spring-boot application and you
extend CamelTestSupport which performs some initialization that happen
to do bean post processing as well, but under the assumption it was
not running with Spring (we can likely improve this in
CamelTestSupport).
But you shou
Hi
I'm using camel 2.21.0, spring boot 1.5.10
I put together strip down version of what I'm seeing at
https://github.com/wmacgyver/camel-spring-boot-property-bug
Running ExampleRouteTest method testWithContent
@Value("${fromUser}")
private String fromUser;
@Value("${toUser}")
private String
Hi
Can you post the stacktrace, and can you tell a bit about where you
put that @ProjectInject.
And what version of camel and SB are you using. And have you tried
with a newer version
On Sat, Mar 17, 2018 at 6:03 AM, Wilson MacGyver wrote:
> Hi there,
>
> I'm using camel-spring-boot
>
> I add
>
Hi there,
I'm using camel-spring-boot
I add
hello = world in my application.properties
I notice if I use
@PropertyInject("hello")
private String hello
I get
Property with key not found in properties from text
but if I use
@Value("${hello}")
it works.
this surprise me, since I was under
10 matches
Mail list logo