[ 
https://issues.apache.org/jira/browse/CAMEL-20994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872396#comment-17872396
 ] 

Thomas Diesler commented on CAMEL-20994:
----------------------------------------

Yes, that repo contains the output of the last known good camel snapshot

> export fails to add camel-direct component when there is a rest consumer
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-20994
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20994
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>            Reporter: Claudio Miranda
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.8.0
>
>
> Given the following integration route.
> {code}
> camel export --gav=com.mycompany:app:1.0 --dir=test --runtime=quarkus 
> Timer2log.java
> {code}
> There is no camel-quarkus-direct component in the generated pom.xml
> {code}
> import org.apache.camel.builder.RouteBuilder;
> public class Timer2log extends RouteBuilder {
>   @Override
>   public void configure() throws Exception {
>     rest()
>       .post("/message")
>       .id("rest")
>       .to("direct:foo");
>     from("direct:foo")
>       .log("hello");
>     }
> }
> {code}
> I noticed it's related to the rest component. Replace it with timer then the 
> export command adds the camel-quarkus-direct dependency to the pom.xml



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to