Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

Receive and process ack in LLP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Receive and process ack in LLP

    Hello,

    I'm new in Mirth. I'm sending messages by LLP connection and I need to receive and ack and analize the MSA-1 code. In order to receive the ack, I only need fill the field ACK Timeout in the destination screen? because I obtain the next error: ERROR-408: MLLP Connector error
    ERROR MESSAGE: Timeout waiting for ACK

    How could I analize the ack MSA-1 code and stop all the channels sending messages when the code is AR?

    Thank you.

    Post edited by: laura, at: 12/21/2007 01:17

  • #2
    Re:Receive and process ack in LLP

    I created a channel reader that only receives ACK messages. In the destination of the sending channel, I used the drop down and selected my "ack receiver" channel. When a response comes in, it shows up in the log for the sending channel, and in the log for the "ack receiver." The ack channel is set up to update my database to say a message has been sent and received properly or not.

    This code is in the destination filter.

    Code:
    if (msg['MSA']['MSA.1']['MSA.1.1'].toString() == 'AA')
    {
    	return true;
    	
    }
    else 
    {
    	return false;
    }

    Comment


    • #3
      Re:Receive and process ack in LLP

      I created a channel reader that only receives ACK messages. In the destination of the sending channel, I used the drop down and selected my "ack receiver" channel. When a response comes in, it shows up in the log for the sending channel, and in the log for the "ack receiver." The ack channel is set up to update my database to say a message has been sent and received properly or not.

      This code is in the destination filter.

      Code:
      if (msg['MSA']['MSA.1']['MSA.1.1'].toString() == 'AA')
      {
      	return true;
      	
      }
      else 
      {
      	return false;
      }

      Comment

      Working...
      X