title: NoTypeConversionAvailableException: camel rest dsl
body: <p>I have a web service like this: </p>
  
  <pre><code>&lt;camelContext id="camel-CallAPI" xmlns="http://camel.apache.org/schema/blueprint" &gt;
               &lt;!--Web service starts working --&gt;
             &lt;restConfiguration bindingMode="auto" component="restlet" host="localhost" port="8889"/&gt;
             &lt;rest path="/check"&gt;
             &lt;post uri="/version" consumes="application/json" produces="application/json"&gt;
             &lt;to uri="direct:first"/&gt;                
              &lt;/post&gt; 
             &lt;/rest&gt;     
             &lt;route&gt;         
            &lt;from uri="direct:first"/&gt;
                &lt;setHeader headerName="Content-Type" id="header_contentType"&gt;
                    &lt;constant&gt;application/json&lt;/constant&gt;
                &lt;/setHeader&gt;
               &lt;log message="after set header :: ${body}"/&gt;
               &lt;to uri="http4://..."/&gt;
               &lt;convertBodyTo type="java.lang.String"/&gt;                  
               &lt;log message="the result of the testCheckLastVersion :: ${body}"/&gt;
  </code></pre>
  
  <p>I'm sending a json content to this web service with the help of postman, and I need my web service to send that json to another API that has been mentioned in direct:first.
  but when I call my web service in postman an error is happening:</p>
  
  <p>org.apache.camel.InvalidPayloadException: No body available of type: java.io.InputStream but has value: {version=apk.1.10.0} of type: java.util.LinkedHashMap on: Message[ID-localhost-localdomain-1549348033140-14-4]. Caused by: No type converter available to convert from type: java.util.LinkedHashMap to the required type: java.io.InputStream with value {version=apk.1.10.0}.</p>
  
  <p>can any one help me with this?</p>