Camel
  1. Camel
  2. CAMEL-5261

SEDA/VM requires completely same URI on producer and consumer side when consumer route is adviced

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.1, 2.9.2
    • Fix Version/s: 2.9.3, 2.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown
    • Regression:
      Regression

      Description

      The producer side and consumer side of the SEDA (and VM) component seems to require the completely same URI to be able to communicate. Completely same meaning that all URI options must be the same on both sides. The strange thing is that this only is required when I have adviced the consumer route. 2.9.0 does not have this problem.

      Attached a unit test - the producerWithDifferentUri will fail on 2.9.1 and 2.9.2. If the advice is removed it will not.

      1. CamelSedaTest.java
        1 kB
        Thomas Johansen

        Activity

        Hide
        Claus Ibsen added a comment -

        I have reproduced the issue and work on a fix.

        Show
        Claus Ibsen added a comment - I have reproduced the issue and work on a fix.
        Hide
        Claus Ibsen added a comment -

        You need to do as told on the wiki page
        http://camel.apache.org/advicewith.html

        eg in the tip: Telling Camel you are using adviceWith

        Show
        Claus Ibsen added a comment - You need to do as told on the wiki page http://camel.apache.org/advicewith.html eg in the tip: Telling Camel you are using adviceWith
        Hide
        Thomas Johansen added a comment -

        Done!

        Show
        Thomas Johansen added a comment - Done!
        Hide
        Claus Ibsen added a comment -

        Thanks, can you re-attach the test case and mark [x] in grant license to Apache. Then we can use your code as an unit test in the source.

        Show
        Claus Ibsen added a comment - Thanks, can you re-attach the test case and mark [x] in grant license to Apache. Then we can use your code as an unit test in the source.

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            Thomas Johansen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development