web stats
Chossing the response of the channel - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 02-22-2011, 03:42 AM
Dagan Dagan is offline
OBX.2 Kenobi
 
Join Date: Jun 2009
Posts: 60
Dagan is on a distinguished road
Default Chossing the response of the channel

Hi, I have created a Channel in MIRTH 1.8 (Llp listener) that receives an HL7 message, calls a webservice, takes the response (in a second destination) and creates an hl7 message.
Till here everithing ok, but I don't know how to make this HL7 generated in a javascript transform in the second destination be the response of the channel.
I tried doing this:

Code:
responseMap.put("response", ResponseFactory.getSuccessResponse(tmp));
but I don't know how to make this response variable be the efective response.

Could you help me please?
Reply With Quote
  #2  
Old 02-22-2011, 04:12 AM
lgarciac lgarciac is offline
Mirth Newb
 
Join Date: Sep 2009
Location: Madrid, Spain
Posts: 13
lgarciac is on a distinguished road
Default

In the "Source" channel tab select the "Respond from:" option in the "Send ACK:" section.

The combo-box at the right activates and it must show "response" as an option.
Reply With Quote
  #3  
Old 02-22-2011, 04:24 AM
Dagan Dagan is offline
OBX.2 Kenobi
 
Join Date: Jun 2009
Posts: 60
Dagan is on a distinguished road
Default

Thanks a lot, I had tried lots of things but I didn't see this option. In fact I tried this option in the TCP Sender...

Thanks a lot again.
Reply With Quote
  #4  
Old 02-22-2011, 04:55 AM
lgarciac lgarciac is offline
Mirth Newb
 
Join Date: Sep 2009
Location: Madrid, Spain
Posts: 13
lgarciac is on a distinguished road
Default

Quote:
Originally Posted by Dagan View Post
Thanks a lot, I had tried lots of things but I didn't see this option. In fact I tried this option in the TCP Sender...

Thanks a lot again.
You are wellcome.
Reply With Quote
Reply

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 08:52 PM.


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