web stats
Message Drop on MLLP mode of TCP/IP listener - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2015, 12:57 AM
saro3392 saro3392 is offline
Mirth Newb
 
Join Date: Mar 2014
Posts: 23
saro3392 is on a distinguished road
Question Message Drop on MLLP mode of TCP/IP listener

Hello All,

Mirth Version : 3.2.1

I am using MLLP mode of listener to receive the data from one of my PMS.
Channel receiving over 20,000 messages per day. But some times message exit from PMS, but didn't reached to mirth channel. The message drop level is 20% per day

Both mirth and PMS in separate servers, how ever both are in same internal network.

Is there any chance MIRTH could be the cause of message drop, since it was handling multiple requests ?.

Do i need to change anything in channel to avoid the message drop ?

Can anyone please help or suggest on this.

Thanks in Advance.

Source Connector configuration as follows:

Type : TCP Listener
Mode : MLLP
Max : 10
Receive Timeout : 0
Buffer Size : 65536
Keep Connection Open: Yes
Data Type: Text
Encoding : Default
Reply With Quote
  #2  
Old 08-18-2015, 04:02 AM
spycom spycom is offline
OBX.2 Kenobi
 
Join Date: Jun 2014
Posts: 71
spycom is on a distinguished road
Default

Do you have the source queue turned on?
Reply With Quote
  #3  
Old 08-18-2015, 07:08 AM
saro3392 saro3392 is offline
Mirth Newb
 
Join Date: Mar 2014
Posts: 23
saro3392 is on a distinguished road
Default

Thanks for quick reply.
No, currently it set to OFF. Will that cause issue ?
Reply With Quote
  #4  
Old 08-18-2015, 07:11 AM
spycom spycom is offline
OBX.2 Kenobi
 
Join Date: Jun 2014
Posts: 71
spycom is on a distinguished road
Default

Don't quote me on this, but I'd say that without the queue, if one message takes too long to process, the next message in line at the source might time out.
As a habit, I always turn it on because I don't care about the validity of the message (usually), I only care that I got it, so I send the ACK as soon as I get it and let things queue up to process.
Reply With Quote
  #5  
Old 08-18-2015, 07:26 AM
saro3392 saro3392 is offline
Mirth Newb
 
Join Date: Mar 2014
Posts: 23
saro3392 is on a distinguished road
Default

Okay. But i am not sending any ACK, that's why i turned off the queue. Thanks for pointing out the queue. I will check more on queuing the messages.
Reply With Quote
  #6  
Old 08-18-2015, 07:45 AM
spycom spycom is offline
OBX.2 Kenobi
 
Join Date: Jun 2014
Posts: 71
spycom is on a distinguished road
Default

You can still tell it not to send an ACK
Reply With Quote
  #7  
Old 08-18-2015, 07:47 AM
saro3392 saro3392 is offline
Mirth Newb
 
Join Date: Mar 2014
Posts: 23
saro3392 is on a distinguished road
Default

Can anyone please explain how the source queue works?..
Will the message cleared from queue once its processed. I am not sending ACK back to origin.
And also please tell me the size limit of source queue.
Reply With Quote
  #8  
Old 08-18-2015, 08:08 AM
spycom spycom is offline
OBX.2 Kenobi
 
Join Date: Jun 2014
Posts: 71
spycom is on a distinguished road
Default

Quote:
Originally Posted by saro3392 View Post
Can anyone please explain how the source queue works?..
Will the message cleared from queue once its processed. I am not sending ACK back to origin.
And also please tell me the size limit of source queue.
To the best of my understanding, it works like this:
First message comes in and starts to process
Second message transmits, then sits in the source queue until the first message has completed processing, and then starts its own processing
Rinse and repeat

I've had queues thousands of messages deep during a backload into Mirth Results.

The source queue really makes a difference when you have slow destinations, or really heavy processing and you have a source that is constantly transmitting.

Go to your Source connector tab; Set the Source Queue to "ON" and set the response to "None" if you don't plan on sending an ACK.
Reply With Quote
  #9  
Old 08-18-2015, 08:19 AM
saro3392 saro3392 is offline
Mirth Newb
 
Join Date: Mar 2014
Posts: 23
saro3392 is on a distinguished road
Default

Thank you very much for clear explanation,
I will turn on the source queue and will test it my environment.
Once again, Thanks a lot.
Reply With Quote
  #10  
Old 08-24-2015, 01:23 PM
phatneff phatneff is offline
OBX.3 Kenobi
 
Join Date: Jun 2014
Location: Cincinnati, OH
Posts: 166
phatneff is on a distinguished road
Send a message via AIM to phatneff
Default

Ok, but what if the source is expecting an ACK before it sends the next message? This wouldn't help with a slow source connection and the Mirth source connection set to NOT keep the connection open. Does that sound right?
Reply With Quote
Reply

Tags
queue, source connector

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:09 AM.


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