Hi, > In my camel config, I am trying to handle exception be returning a static > xml response, indicating that there was an error.
If the response is static indeed, you can use Java DSL and set the body to constant value. from("direct:invalidCredentialQueue"). setBody(constant(MyMessageUtil.getMsg("invalidCredential"))); Laters. -- Henryk Konsek http://henryk-konsek.blogspot.com