Announcement

Collapse
No announcement yet.

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