Commits

Manjula Piyumal committed eef225b

Fixing mulitple http sender issue

Comments (0)

Files changed (1)

modules/core/src/main/java/org/adroitlogic/ultraesb/transport/http/HttpNIOSender.java

 
     private void prepareDestinationURL(MessageImpl message) {
         final String queryParameters = getQueryParameters(message);
-        final String addressValue = message.getStringMessageProperty(Endpoint.LAST_ADDRESS_VALUE);
+        final String addressValue = message.getDestinationURL();
         final AddressDefinition.Type addressType = (AddressDefinition.Type) message.getMessageProperty(Endpoint.LAST_ADDRESS_TYPE);
 
         if (Type.URL.equals(addressType)) {