[ https://issues.apache.org/jira/browse/CAMEL-9027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645665#comment-14645665 ]
Cristian Tetic commented on CAMEL-9027: --------------------------------------- I just received a topic to work with and I don't have rights to change the name. As a workaround I have used SjmsEndpoint setDestinationName. Also I don't have rights to created destination so I had to use a custom DestinationCreationStrategy. > camel-sjms - Parse destinationName from endpointUri having colon in the name > ---------------------------------------------------------------------------- > > Key: CAMEL-9027 > URL: https://issues.apache.org/jira/browse/CAMEL-9027 > Project: Camel > Issue Type: Bug > Components: camel-sjms > Affects Versions: 2.15.2 > Reporter: Cristian Tetic > Priority: Minor > Fix For: 2.16.0, 2.15.3 > > > If jndi name of a topic or a queue contains ":" (eg: > /jms/test/hov.t1.dev:topic) the destination name won't be parsed correctly > because of this code: > " destinationName = > getEndpointUri().substring(getEndpointUri().lastIndexOf(":") + 1);" > inside class "SjmsEndpoint" line number 106. -- This message was sent by Atlassian JIRA (v6.3.4#6332)