Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12775

Using StubComponent can block routes depending on MEP

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.16.3, 2.22.0
    • Fix Version/s: 2.21.3, 2.22.2, 2.23.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      As the name implies and per the documentation 'stub:' should be a no-op.

      However, if the exchange pattarn is InOut, routes are actually blocked waiting for a response.

      Discovered against camel 2.16.3

      Confirmed against Camel 2.22.0 (see attached test-case)

       

        Attachments

        1. StubTest.java
          2 kB
          Guido Schreuder

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              guido.schreuder@gmail.com Guido Schreuder
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: