I was able to solve the problem. I made a mistake while specifying the path.
In the client endpoint I specified the address as : *"http://itlcpu703:8080/RestUploadFile/rest/file/upload"* and in the client end point (java class) also I specified @path annotation as : *@path("/upload")* *So "/upload" was being appended two times and it was trying to hit :* "http://itlcpu703:8080/RestUploadFile/rest/file*/upload/upload"* *Corrections I did : * I corrected the address specified at client end point as : *"http://itlcpu703:8080/RestUploadFile/rest/file/"* -- View this message in context: http://camel.465427.n5.nabble.com/Passing-a-file-through-camel-route-tp5790489p5790757.html Sent from the Camel - Users mailing list archive at Nabble.com.