You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Marco Bergsma (Jira)" <ji...@apache.org> on 2022/12/15 14:57:00 UTC

[jira] [Created] (CAMEL-18820) Infinite recursion when using direct endpoint

Marco Bergsma created CAMEL-18820:
-------------------------------------

             Summary: Infinite recursion when using 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


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)