web stats
How to separate messages coming on a single port? - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-24-2011, 07:50 AM
bhsuhansc007 bhsuhansc007 is offline
Mirth Newb
Join Date: Jul 2010
Posts: 8
bhsuhansc007 is on a distinguished road
Default How to separate messages coming on a single port?


I am trying to achieve this using Mirth:

On a particular port, some process is gonna send different types of HL7 messages- A04, R01, A08. I am planning to receive these messages using Mirth. Once I receive these messages, I will write each one of them to a file. To process each type of file, I will be using my custom Java applications. So App1 will process A04, App2 will process A08 and App3 will process R01. Each of these Apps will be polling a separate directory and will assume that only that type of message will be placed in that directory, which type they are expecting.

Now, my problem is, since I am listening on only one port, is there a way by which I can look into each incoming HL7 message, identify which type it is and write it to a particular directory? I though I could do this using different 'destinations', but that did not work. It is writing each message to each destination.

Is it even possible? I know sending each type on different port is an option, but I want to do this using just one port.

Reply With Quote

connect, connection

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 12:56 PM.

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