[
https://issues.apache.org/jira/browse/CAMEL-18820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-18820.
---------------------------------
Resolution: Not A Bug
Its like in java if you call your own method recursively
> Infinite recursion with direct endpoint
> ---------------------------------------
>
> Key: CAMEL-18820
> URL: https://issues.apache.org/jira/browse/CAMEL-18820
> Project: Camel
> Issue Type: Bug
> Components: came-core
> Affects Versions: 3.19.0
> Reporter: Marco Bergsma
> Priority: Minor
>
> Creating routes like this produces an infinite loop.
> {code:java}
> from(timer("test").repeatCount(1))
> .routeId("test")
> .to(direct("testing"));
> from(direct("testing"))
> .routeId("test-2")
> .log("Hey I am testing")
> .to(direct("testing")); {code}
> Is this something that don't want to allow or do we rely on users creating
> some stop condition?
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)