[
https://issues.apache.org/jira/browse/CAMEL-11871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16187814#comment-16187814
]
ASF GitHub Bot commented on CAMEL-11871:
----------------------------------------
GitHub user ppalaga opened a pull request:
https://github.com/apache/camel/pull/1989
CAMEL-11871: Stomp component should not modify the destination name
https://issues.apache.org/jira/browse/CAMEL-11871
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ppalaga/camel CAMEL-11871
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1989.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1989
----
commit c7c5ba04dc4a3b22de6ae2c9b4ce9cc9808a731d
Author: Peter Palaga <[email protected]>
Date: 2017-10-02T09:33:32Z
CAMEL-11871: Stomp component should not modify the destination name
----
> Stomp component should not modify the destination name
> ------------------------------------------------------
>
> Key: CAMEL-11871
> URL: https://issues.apache.org/jira/browse/CAMEL-11871
> Project: Camel
> Issue Type: Bug
> Reporter: Peter Palaga
> Assignee: Peter Palaga
>
> 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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)