I developed some rest services with apache camel.
After deployment of my webservice with the corresponding rest services, the first request of one of the rests needs much more time than the following requests.
In some cases the first request needs about 500ms and the following are in the range of 8-20ms (with some exceptions).
How can I solve this problem? Is there a way to call each rest service on startup? This problem affects the first request only.
What does camel do during the first request?