[
https://issues.apache.org/jira/browse/CAMEL-18820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marco Bergsma updated CAMEL-18820:
----------------------------------
Summary: Infinite recursion with direct endpoint (was: Infinite recursion
when using direct endpoint)
> 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 we wouldn'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)