servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1411051 - /servicemix/components/trunk/engines/servicemix-camel/src/main/java/org/apache/servicemix/camel/JbiEndpoint.java
Date Mon, 19 Nov 2012 03:22:20 GMT
Author: ffang
Date: Mon Nov 19 03:22:19 2012
New Revision: 1411051

URL: http://svn.apache.org/viewvc?rev=1411051&view=rev
Log:
[SMXCOMP-955]ensure camel-jbi endpoint url operation get decoded

Modified:
    servicemix/components/trunk/engines/servicemix-camel/src/main/java/org/apache/servicemix/camel/JbiEndpoint.java

Modified: servicemix/components/trunk/engines/servicemix-camel/src/main/java/org/apache/servicemix/camel/JbiEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/components/trunk/engines/servicemix-camel/src/main/java/org/apache/servicemix/camel/JbiEndpoint.java?rev=1411051&r1=1411050&r2=1411051&view=diff
==============================================================================
--- servicemix/components/trunk/engines/servicemix-camel/src/main/java/org/apache/servicemix/camel/JbiEndpoint.java
(original)
+++ servicemix/components/trunk/engines/servicemix-camel/src/main/java/org/apache/servicemix/camel/JbiEndpoint.java
Mon Nov 19 03:22:19 2012
@@ -154,6 +154,7 @@ public class JbiEndpoint extends Default
                 }
                 String oper = (String) params.get("operation");
                 if (StringUtils.hasLength(oper)) {
+                    oper = URLDecoder.decode(oper, "UTF-8");
                     operation = QName.valueOf(oper);
                     params.remove("operation");
                 }



Mime
View raw message