web stats
Capture the ACK response - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 01-24-2018, 07:41 AM
tkurian tkurian is offline
Mirth Newb
 
Join Date: Jan 2018
Posts: 11
tkurian is on a distinguished road
Default Capture the ACK response

I have an MLLP connection that sends me back an ACK response from my partner. I would like to capture the response and then save it to either a file or to another channel. What's the best way to do this?
Reply With Quote
  #2  
Old 01-24-2018, 08:26 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,123
narupley is on a distinguished road
Default

If you're not queuing the message, you can just use a subsequent File Writer destination in the same channel.

If you are queuing the message, use the Response Transformer to either write the response manually (using FileUtil for example) or route the response to another channel with router.route. Additional information on that stuff is in the User Guide and in the User API documentation.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
Reply

Tags
channel, response

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


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