Hi,
if I try to build this code:
package org.mycompany;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.model.rest.RestParamType;
public class MyFirstRouterBuilder extends RouteBuilder {
@Override
public void configure() throws Exception {
try{
re
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 Daniel,
thanks for your response. I agree with you. But changing the body to the
suggested content, throws the following error:
Caused by: java.lang.IllegalArgumentException: The PayLoad elements cannot fit
with the message parts of the BindingOperation. Please check the
BindingOperation an