Artem St created CAMEL-18159:
--------------------------------

             Summary: 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
            Reporter: Artem St
         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