web stats
LLP or TCP Listener with multiple clients - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2012, 06:34 AM
johnvoigt johnvoigt is offline
OBX.1 Kenobi
 
Join Date: Jun 2011
Posts: 26
johnvoigt is on a distinguished road
Default LLP or TCP Listener with multiple clients

I was wondering if there is any way I can make a channel which has a LLP/TCP listener for its source connector type that would be able to handle multiple clients connecting to it an sending it data? IE i would like to have customer A,B, and C all able to connect to us on port XYZ and send us HL7 that we would then process and send that customer its correct ACK.

I understand I could do with with having multiple channels, each with different LLP listeners and different ports and having the destination be a channel writer and then have another channel with a channel reader as a source and then do the processing in some other destination style desired.
Reply With Quote
  #2  
Old 02-21-2012, 06:46 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road
Default

The LLP and TCP Listener connectors by default act as servers, so you should be able to deploy a channel and accept connections from many different clients at once. To test this, you can set up a bunch of "client" channels that continually send messages to your server channel. Or, you can create a perl script to do this, etc.
Reply With Quote
  #3  
Old 02-21-2012, 07:08 AM
jackwhaines jackwhaines is offline
 
Join Date: May 2011
Location: Kansas City, Missouri
Posts: 255
jackwhaines is on a distinguished road
Send a message via Skype™ to jackwhaines
Default

I agree... think about a web server. The server listens on port 80, but 10,000 people can all use the site at the same time.
Reply With Quote
Reply

Tags
llp listener, tcp listener

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 09:57 PM.


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