[
https://issues.apache.org/jira/browse/CAMEL-20994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17871628#comment-17871628
]
Claus Ibsen commented on CAMEL-20994:
-------------------------------------
What kind of break, what do you mean, those 2 artifcats above are correct names
and would allow Camel to run, regardless if direct is in use or not
> 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)