How to tune Camel Rest?

Solution Verified - Updated -

Issue

I am using Camel Rest in my project, it based on Springboot + camel + Fuse on OCP.
my code is like:

        <restConfiguration bindingMode="auto" component="jetty"
            contextPath="/fuse" host="0.0.0.0" port="20080"/>
        <rest id="eai-rest" path="/eai-rest">
            <post consumes="application/json; charset=utf-8"
                id="rest-post" produces="application/json; charset=utf-8">
                <to id="direct to eai-gw-rest" uri="direct:eai-gw-rest"/>
            </post>
        </rest>
        <route id="eai-gw-rest" streamCache="true">
            <!-- convert request to byte array -->
            <from id="fromREST" uri="direct:eai-gw-rest"/>

I want to know :

  • the default thread count, how to change its value?
  • how to change connection/idle timeout?

Environment

  • Red Hat Fuse 6.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content