Barclays interview question

Basic Java and Apache Camel questions