title: How to dump HTTP body and headers sent with HTTP component with Apache Camel
body: <p>How to dump HTTP body and headers sent with Apache Camel HTTP component using this route:</p>
  
  <pre><code>   from('direct:abc').
     setHeader(Exchange.HTTP_URI, constant("${config.gnutch.solr.coreUrl}/select")).
     setHeader(Exchange.HTTP_QUERY, constant("q=${q}&amp;wt=xml")).
     setHeader(Exchange.CONTENT_TYPE, constant('application/xml')).
     setHeader(Exchange.HTTP_METHOD, constant('GET')).
     setBody(constant(null)).
     to("http://null")
  </code></pre>
  
  <p>This is Camel DSL code in groovy. Is that possible?</p>