How to create an IAM User using apache camel?
问题 I have a camel rest api. I was trying to create an IAM User using apache camel framework. The code is like so -> .post("iam-create-user") .route() .process(new Processor(){ @Override public void process(Exchange exchange) throws Exception { exchange.getIn().setHeader("CamelAwsIAMUsername", "new-user"); }) .to("aws2-iam://current-user?accessKey=insert&secretKey=insert&operation=createUser") .endRest(); I am getting this error java.lang.NullPointerException: null . What is the correct way of