6. Output:
++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++
+ Started app 'DataMapper' +
++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++
INFO 2015-05-16 10:00:00,123
[[DataMapper_POC].connector.http.mule.default.receiver.02]
org.mule.api.processor.LoggerMessageProcessor: --entered
INFO 2015-05-16 10:00:00,123
[[DataMapper_POC].connector.http.mule.default.receiver.02]
org.mule.lifecycle.AbstractLifecycleManager: Initialising:
'Database.dispatcher.1295829687'. Object is: EEJdbcMessageDispatcher
INFO 2015-05-16 10:00:00,123
[[DataMapper_POC].connector.http.mule.default.receiver.02]
org.mule.lifecycle.AbstractLifecycleManager: Starting:
'Database.dispatcher.1295829687'. Object is: EEJdbcMessageDispatcher
INFO 2015-05-16
10:00:00,254[[DataMapper_POC].connector.http.mule.default.receiver.02]
org.mule.api.processor.LoggerMessageProcessor: ---[{id=1, name=a,
subj=Hindi, marks=34}, {id=2, name=b, subj=English, marks=33}, {id=3,
name=c, subj=science, marks=67}, {id=4, name=d, subj=social,
marks=89}]
7. Flow of execution:
1. URL to trigger the service from browser
http://localhost:8065/datamapper
2. Database component connects to the specific
database, executes the select query, maps the
results using DataMapper and prints the result
in console