web stats
database connection pooling - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-01-2018, 04:12 AM
prakashjoy prakashjoy is offline
What's HL7?
 
Join Date: Sep 2016
Posts: 4
prakashjoy is on a distinguished road
Default database connection pooling

Hi,


Mirth Connect Server 3.4.2.8129.

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
  #2  
Old 11-01-2018, 05:14 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 802
agermano is on a distinguished road
Default

http://www.mirthcorp.com/community/i...wse/MIRTH-3939

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
Reply

Tags
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:58 AM.


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