web stats
two channels TCP listener on the same port? - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 07-11-2018, 02:30 AM
riven974 riven974 is offline
Mirth Newb
 
Join Date: Mar 2018
Location: Reunion Island
Posts: 16
riven974 is on a distinguished road
Default two channels TCP listener on the same port?

Hello everybody
I was wondering if there is a way to have two channels TCP listener on the same port (if I specify a specific interface in the listener settings ). I guess the answer is no.
My problem : a RIS source is sending on the same port HL7 adt, HL7 orm and HL7 oru messages. I have to send the HL7 adt message to 5 different destinations, and the HL7 orm and oru to 2 different destinations.

One solution I was thinking is (see image)

Do you think I can do it in a production environment ?
(I have for example 100 000 adt messages/year)
Thanks for your help
Véronique
Attached Images
File Type: png MIRTH_SCMIM.PNG (21.9 KB, 15 views)
Reply With Quote
  #2  
Old 07-11-2018, 04:52 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 821
siddharth is on a distinguished road
Default

I would do what is shown on the screenshot. If you are stuck anywhere, connect with us on mirth slack channel for help!
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #3  
Old 07-11-2018, 05:15 AM
riven974 riven974 is offline
Mirth Newb
 
Join Date: Mar 2018
Location: Reunion Island
Posts: 16
riven974 is on a distinguished road
Default

OK, thanks !
Veronique
Reply With Quote
  #4  
Old 07-11-2018, 06:05 AM
AlexNeiva AlexNeiva is offline
Mirth Guru
 
Join Date: Oct 2013
Location: Portugal
Posts: 272
AlexNeiva is on a distinguished road
Default

Hello,

As @siddharth said, I agree on what the image is showing.
I have one channel in production that received more than 7000 ADT per day and works perfectly.
You need to check the Source and Destination properties in order to achieve maximum performance.
__________________
Best Regards,
Alex Neiva
Reply With Quote
  #5  
Old 07-11-2018, 06:35 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 470
agermano is on a distinguished road
Default

I also agree with the workflow in the image. Modify the DestinationSet in the source transformer of Channel A rather than using filters on your destinations. There is a transformer step type for this in mirth 3.5+. If you are at a lower version, it is still simple to do in javascript.
Reply With Quote
Reply

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 02:37 PM.


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