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

Stomp component should not modify the destination name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.20.0
    • camel-stomp
    • None
    • Unknown

    Description

      Stomp Camel Component modifies the destination name passed via endpoint URI by prepending a slash to it and by replacing ':' with '/' [1]. This turns out to be problematic when targeting an ActiveMQ Artemis instance embedded in WildFly. For whatever reason, it expects queue names to start with "jms.queue." without the initial slash.

      There is a WildFly Camel integration test demonstrating the issue: [2]

      StompComponent should not assume anything about the naming scheme, because it has no control over the decisions made on the broker side.

      [1] https://github.com/apache/camel/blob/98b3d7eae9959645c4bc023bf4896d036ce75642/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompComponent.java#L57

      [2] https://github.com/ppalaga/wildfly-camel/commit/15e3e6098b3976cb057f4208565296ea6bd54017#diff-bf122ce705f9ef0b3920d968d1f13f2a

      Attachments

        Issue Links

          Activity

            People

              ppalaga Peter Palaga
              ppalaga Peter Palaga
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: