Capgemini interview question

Java design patterns and jms,spring