[ 
https://issues.apache.org/jira/browse/CAMEL-18159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545441#comment-17545441
 ] 

Artem St commented on CAMEL-18159:
----------------------------------

Should I refer this issue in PR or create new one for other component?

> camel-jms SendDynamicAware incorrectly parses destination if it starts with 
> "jms|activemq|etc://" and doesn't have queue: or topic: prefix
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-18159
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18159
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 3.14.3
>            Reporter: Artem St
>            Priority: Major
>             Fix For: 3.14.4, 3.18.0
>
>         Attachments: JmsToDSendDynamicTest.java
>
>
> For route like:
> {code:java}
> from("direct:startSlashed")
>   .toD("activemq://${header.where}");{code}
> If we pass exchange with specified header _*where*_ any value, for example 
> "bar" the jms endpoint will parse destination not as "bar", but as 
> "{*}//{*}bar" and will send message to queue "{*}//{*}bar".
>  
> Test file (wich will be fall) is attached



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to