Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes f9ef09cdc -> 3b3b81e69


[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/3b3b81e6
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/3b3b81e6
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/3b3b81e6

Branch: refs/heads/3.0.x-fixes
Commit: 3b3b81e6900ed57155ddfcd807c551369d1304fa
Parents: f9ef09c
Author: Sergey Beryozkin <[email protected]>
Authored: Mon Apr 3 13:07:36 2017 +0100
Committer: Sergey Beryozkin <[email protected]>
Committed: Mon Apr 3 13:09:04 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/3b3b81e6/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 4a590c1..74e228a 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
@@ -370,6 +370,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);

Reply via email to