mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2728 - fix getDestination() problem
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@959942 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7c3c11cc4
commit
554a01a420
|
@ -305,7 +305,9 @@ public abstract class MessageServletSupport extends HttpServlet {
|
|||
} else {
|
||||
isTopic = isTopic(request);
|
||||
}
|
||||
destinationName = destinationName.substring(destinationName.indexOf("://") + 3);
|
||||
if (destinationName.indexOf("://") != -1) {
|
||||
destinationName = destinationName.substring(destinationName.indexOf("://") + 3);
|
||||
}
|
||||
|
||||
if (destinationOptions != null) {
|
||||
destinationName += "?" + destinationOptions;
|
||||
|
|
Loading…
Reference in New Issue