Hi I solved the issue of https://issues.apache.org/jira/browse/CAMEL-4363 http://camel.465427.n5.nabble.com/updload-server-multipart-td472630.html http://code.notsoclever.cc/writing-camel-component-camel-static-resource/
Example: from("jetty:http://localhost:{{port}}/myapp/myservice?" + "resourceBase=htdocs" + "&resourceWelcomeFiles=index.html,test.html" + "&resourceDirectoriesListed=true" + "&resourceEtags=true") .setBody(constant("OK")); Example resources: /src/main/resources/htdocs/ index.html sub/ test.js You can access the static files and camel-jetty endpoint. http://localhost:{{port}}/myapp/myservice http://localhost:{{port}}/index.html http://localhost:{{port}}/sub/test.js http://localhost:{{port}}/ (unsupported jsp files) ---- patchfile.txt <http://camel.465427.n5.nabble.com/file/n5750368/patchfile.txt> ---- -- View this message in context: http://camel.465427.n5.nabble.com/Patch-camel-jetty-Allow-for-static-file-handlers-tp5750368.html Sent from the Camel - Users mailing list archive at Nabble.com.