I need to throwFault to the client during certain scenarios in my routes.
How to use
throwFault() to do the same?
I used throwFault(new Exception("Server doesnt like your request"))
but my client seems to receive an empty sopenv:Fault with no faultString and faultCode as soap:env.
How to change these params without using CXF? (our architecture doesnt use CXF at all, its just the SMX and CAMEL.)
I don't think Camel can do this work out of box without using CXF.
But you can write a customer processor to turn the exception into the soap fault message yourself.