web stats
database connection pooling - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 11-01-2018, 04:12 AM
prakashjoy prakashjoy is offline
Mirth Newb
Join Date: Sep 2016
Posts: 18
prakashjoy is on a distinguished road
Default database connection pooling


Mirth Connect Server

I am connecting to postgre database for reading orders and inserting results. In both channels number of destinations created.

All Destinations used javascript transformer.

Each destination is connecting to app database and disconnecting after completing the transformer processes.

So in my result channel i used 5 destinations and 5 times mirth is connecting and disconnecting the database.

I need to set up database connection pooling mechanism in mirth, so that the connections can be controlled.

Is there is any option to use the database connection pooling in mirth.
Reply With Quote
Old 11-01-2018, 05:14 AM
agermano agermano is offline
Mirth Guru
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,159
agermano is on a distinguished road


There is some example code attached to that ticket that show you how to use HikariCP in javascript, which is what mirth uses internally for it's connection pooling.
Reply With Quote

database, mirth, pooling

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 10:02 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation