I have been learning the Apache Camel with "Camel In Action" book. I am total new bee to this. I was working with some of the application examples provided with the book. In that I am trying my hands on a particular example where the Custom Route Builder class is autowired and should be added to the camel context. But this is not working as expected. I have provided the code below. Please help.
4. Added attachment as Project Structure
I am using Apache Maven
3.2.3 as Build Tool for all the required jar configurations.
Please help with this. Even with all these it's raising an NPE at context.addRoute(orderRouteBuilder) statement.