wso2esb - wso2 ESB - log all transactions in MySQL database -


i new esb. have created wsdl based proxy , applications work well. problem is, want record requests , responses in mysql database report generation. can me?

if php can used in process, useful. had luck in restful cloning type of application, have created 2 sequences , 1 web program writes values mysql database.

thanks in advance.

dhammika

you can use mediator dbreport , example can found here

here example:

<dbreport>     <connection>         <pool>             <password>wso2carbon</password>             <user>wso2carbon</user>             <url>jdbc:</url>             <driver>com.mysql.jdbc.driver</driver>         </pool>     </connection>     <statement>         <sql>             <![cdata[insert cache( value ) values (?);]]></sql>          <parameter expression="$body" type="varchar"/>     </statement> </dbreport> 

do not forget add driver mysql


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -