You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/08/19 21:19:52 UTC

[GitHub] [camel] chandra-h-bitd commented on a change in pull request #4105: CAMEL-15420 camel-http dynamic aware removes Exchange.HTTP_QUERY head…

chandra-h-bitd commented on a change in pull request #4105:
URL: https://github.com/apache/camel/pull/4105#discussion_r473331543



##########
File path: components/camel-http-base/src/main/java/org/apache/camel/http/base/HttpSendDynamicAware.java
##########
@@ -100,6 +100,10 @@ public Processor createPreProcessor(Exchange exchange, DynamicAwareEntry entry)
             query = URISupport.createQueryString(new LinkedHashMap<>(entry.getLenientProperties()));
         }
 
+        if (query == null && exchange.getIn().getHeader(Exchange.HTTP_QUERY) != null) {

Review comment:
       Thanks for the suggestion, Used ObjectHelper to check the Header




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org