title: Apache Camel Routing performance
body: <p>I am doing general routing using Camel Restlet and the response time is 300ms is there any setting i can do to reduce the response time.</p>
  
  <p>My Routing configuration</p>
  
  <pre><code> &lt;route id="retriveEntry"&gt;
                  &lt;from uri="restlet:/user/{cachename}/{userId}?restletMethod=GET"/&gt;
                  &lt;setHeader headerName="Content-Type"&gt;
                    &lt;constant&gt;application/xml&lt;/constant&gt;
                  &lt;/setHeader&gt;
                  &lt;!-- &lt;process ref="requestTimeProc"/&gt; --&gt;
                  &lt;to uri="restlet:http://hostname:8180/rest/{cachename}/{userId}?restletMethod=GET"/&gt;
                  &lt;!-- &lt;process ref="responseTimeProc"/&gt; --&gt;
              &lt;/route&gt;
  
  Response time By hitting the backend URL directly is :40 ms http://hostname:8180/rest/{cachename}/{userId}
  </code></pre>
  
  <p>I also see these warning's in my camel log not sure why:</p>
  
  <pre><code>WARNING: Addition of the standard header "Content-Length" is not allowed. Please use the equivalent property in the Restlet API.
  Nov 13, 2013 5:07:38 PM org.restlet.engine.http.header.HeaderUtils addExtensionHeaders
  WARNING: Addition of the standard header "Date" is not allowed. Please use the equivalent property in the Restlet API.
  Nov 13, 2013 5:07:39 PM org.restlet.engine.http.header.HeaderUtils addExtensionHeaders
  WARNING: Addition of the standard header "Host" is not allowed. Please use the equivalent property in the Restlet API.
  Nov 13, 2013 5:07:39 PM org.restlet.engine.http.header.HeaderUtils addExtensionHeaders
  WARNING: Addition of the standard header "Connection" is not allowed. Please use the equivalent property in the Restlet API.
  Nov 13, 2013 5:07:39 PM org.restlet.engine.http.header.HeaderUtils addExtensionHeaders
  WARNING: Addition of the standard header "User-Agent" is not allowed. Please use the equivalent property in the Restlet API.
  Nov 13, 2013 5:07:39 PM org.restlet.engine.http.header.HeaderUtils addExtensionHeaders
  </code></pre>