Hi

Does other integrations build and run without logging this kind of thing?


On Mon, Mar 21, 2022 at 3:48 PM Roberto Camelk
<betonetotbo.cam...@gmail.com> wrote:
>
> I'm testing some integrations. My last test is about trying to expose
> 2 rest endpoints in 2 different ports (I don't know if it is
> possible)...
>
> But when I run it, the camel-k operator seems to infinite loop trying
> to build the integration, without giving me "details" about what is
> realy happening...
>
> This is my integration code:
>
> //camel-k: dependency=camel-rest
>
> import org.apache.camel.builder.RouteBuilder;
>
> public class RestDemo extends RouteBuilder {
>
>     @Override
>     public void configure() throws Exception {
>         rest("/hello")
>             .get("/say").to("direct:hello");
>
>         rest("/bye")
>             .get("/say").to("direct:bye");
>
>         from("direct:hello")
>             .transform().constant("Hello World");
>
>         from("direct:bye")
>             .transform().constant("Bye World");
>     }
>
> }
>
> And this is the operator logs:
>
> https://pastebin.com/crYvtzqf



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to