9. • Output:
INFO 2015-12-12 06:28:28,567 [main] org.mule.DefaultMuleContext:
**********************************************************************
* Application: DataMapper_POC *
* OS encoding: Cp1252, Mule encoding: UTF-8 *
* *
* Agents Running: *
* Clustering Agent *
* JMX Agent *
**********************************************************************
INFO 2015-12-12 06:28:28,568 [main] org.mule.module.launcher.MuleDeploymentService:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Started app 'DataMapper_POC' +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2015-12-12 06:28:39,973 [[DataMapper_POC].connector.http.mule.default.receiver.02]
org.mule.api.processor.LoggerMessageProcessor: --entered
INFO 2015-12-12 06:28:39,981 [[DataMapper_POC].connector.http.mule.default.receiver.02]
org.mule.lifecycle.AbstractLifecycleManager: Initialising: 'Database.dispatcher.1295829687'. Object is:
EEJdbcMessageDispatcher
INFO 2015-12-12 06:28:39,981 [[DataMapper_POC].connector.http.mule.default.receiver.02]
org.mule.lifecycle.AbstractLifecycleManager: Starting: 'Database.dispatcher.1295829687'. Object is:
EEJdbcMessageDispatcher
INFO 2015-12-12 06:28:41,756 [[DataMapper_POC].connector.http.mule.default.receiver.02]
org.mule.api.processor.LoggerMessageProcessor: ---[{id=1, name=Ramesh, subj=Hindi, marks=55}, {id=2,
name=Mahesh, subj=English, marks=65}, {id=3, name=Pavan, subj=science, marks=75}, {id=4, name=Siva, subj=social,
marks=45}]
10. • Flow of execution:
1. URL to trigger the service from browser
http://localhost:8088/datamapper
2. Database component connects to the specific
database, executes the select query, maps the
results using DataMapper and prints the result
in console