Appendix B SAmple Code { "userID": "12345", "firstName": "Sourabh", "lastName": "Sethi" } The servlet URL, servlet: ///account, specifies the relative path, /account. The complete URL to access this servlet is the following, as shown in Figure B-14: http:// localhost:8001/integration.0.0.1/camel/account. • accountControllerResponse: This processor class is responsible for transforming and converting responses from account services. • accountControllerRequest: This processor class is responsible for transforming request headers and body before heading to account services. The servlet URL, servlet: ///transaction, specifies the relative path, / transaction. The complete URL to access this servlet is the following, as shown in Figure B-14: http://localhost:8001/integration.0.0.1/camel/transaction • transactionControllerResponse: This processor class is responsible for transforming and converting responses from transaction services. • transactionControllerRequest: This processor class is responsible for transforming request headers and body before heading to transaction services. 353
Building Digital Experience Platforms Page 362 Page 364