Basic authentication in Camel

I need to call a webservice that uses basic authentication. All the solutions and suggestions I could find via google where ether complicated or a lot of work. Until I looked at the CXF manual ( As of version 2.12.3, you can do it by simply adding the username and password to your endpoint in your camel route.