简体   繁体   中英

Reconnect using Mule 3.5 db connector

I'm in the process of upgrading my flows to Mule 3.5.1 (from 3.4.1). I am trying to replace the deprecated jdbc-ee:connector with the new db connector. For the database, we are using Microsoft sql server. There isn't a predefined configuration for MS SQL Server, so I'm using the db:generic-config configuration. Does anyone know how to configure reconnection strategies with the new DB config? I'm finding the documentation is very sparse. Using the old jdbc-ee:connector, you can simply specify the strategy as a child element.

<jdbc-ee:connector name="myDbConnector" validateConnections="true" queryTimeout="-1" pollingFrequency="0" dataSource-ref="myDatasource" doc:name="Database">
    <reconnect-forever blocking="false" frequency="2000" />
</jdbc-ee:connector>

According to the mule documentation, "The Properties pane for almost every global endpoint and global connector that appears in the Studio interface features a Reconnection tab, as pictured below:", but I guess the new DB connector doesn't fall into the category of "almost every"!

在Mule 3.6.0中添加了数据库重新连接: https : //www.mulesoft.org/jira/browse/MULE-7741

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM