You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2017/04/03 12:07:50 UTC

cxf git commit: [CXF-7312] Updating REQUEST_URI if needed

Repository: cxf
Updated Branches:
  refs/heads/master cbf0ca69e -> 443b9ae19


[CXF-7312] Updating REQUEST_URI if needed


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/443b9ae1
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/443b9ae1
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/443b9ae1

Branch: refs/heads/master
Commit: 443b9ae1920f89723f42c519ceba6dc5bd2ff8fb
Parents: cbf0ca6
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Mon Apr 3 13:07:36 2017 +0100
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Mon Apr 3 13:07:36 2017 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/clustering/FailoverTargetSelector.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/443b9ae1/rt/features/clustering/src/main/java/org/apache/cxf/clustering/FailoverTargetSelector.java
----------------------------------------------------------------------
diff --git a/rt/features/clustering/src/main/java/org/apache/cxf/clustering/FailoverTargetSelector.java b/rt/features/clustering/src/main/java/org/apache/cxf/clustering/FailoverTargetSelector.java
index de8abf1..7ab8b6f 100644
--- a/rt/features/clustering/src/main/java/org/apache/cxf/clustering/FailoverTargetSelector.java
+++ b/rt/features/clustering/src/main/java/org/apache/cxf/clustering/FailoverTargetSelector.java
@@ -402,6 +402,7 @@ public class FailoverTargetSelector extends AbstractConduitSelector {
                     endpointAddress = endpointAddress + (startsWithSlash ? pathInfo : (slash + pathInfo));
                 }
                 message.put(Message.ENDPOINT_ADDRESS, endpointAddress);
+                message.put(Message.REQUEST_URI, endpointAddress);
 
                 Exchange exchange = message.getExchange();
                 InvocationKey key = new InvocationKey(exchange);