servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r726136 - /servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java
Date Fri, 12 Dec 2008 22:17:44 GMT
Author: gnodet
Date: Fri Dec 12 14:17:44 2008
New Revision: 726136

URL: http://svn.apache.org/viewvc?rev=726136&view=rev
Log:
SM-1708: WS-Addressing fix (make sure we do not override the target endpoint if it is already
set by ws-addressing)

Modified:
    servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java

Modified: servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java?rev=726136&r1=726135&r2=726136&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java
(original)
+++ servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java
Fri Dec 12 14:17:44 2008
@@ -448,7 +448,9 @@
 
     public MessageExchange createExchange(HttpServletRequest request) throws Exception {
         MessageExchange me = marshaler.createExchange(request, getContext());
-        configureExchangeTarget(me);
+        if (me.getEndpoint() == null) {
+            configureExchangeTarget(me);
+        }
         // If the user has been authenticated, put these informations on
         // the in NormalizedMessage.
         if (request.getUserPrincipal() instanceof JaasJettyPrincipal) {



Mime
View raw message