web stats
"Send response to" combo - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-01-2014, 04:27 AM
hki hki is offline
What's HL7?
 
Join Date: Aug 2014
Posts: 1
hki is on a distinguished road
Default "Send response to" combo

Hello,
i'm very new to Mirth connect so please apologize my 'maybe' simple question.
I using Mirth 3.0.3
I have a channel with:
source: TCP - Listener / Transmission Mode MLLP and
destination: TCP - Sender / Transmission Mode MLLP
everyting works fine.
Now i want to route TCP Sender - Response to a different channel.
In previous versions of Mirth i found there was a combo box "Send response to"
but in the version i use (3.0.3) i cant find this combo.
What i can do or do i miss somting?

Thank you for your Help in advance!
Heiko
Reply With Quote
  #2  
Old 09-02-2014, 06:39 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,097
narupley is on a distinguished road
Default

There are a couple of ways to do that in 3.x.

First, if your destination isn't queuing, you can just create a subsequent Channel Writer destination, and use the previous destination's response. The previous destination (e.g. "Destination 1") will show up in the Destination Mappings table to the right, and you can drag-and-drop it into the template (it'll be something like "${d1.message}").

If your destination is queuing, you can create a response transformer and use VMRouter to manually route a message to a downstream channel.
__________________
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
  #3  
Old 06-12-2019, 12:19 PM
jerchap jerchap is offline
OBX.3 Kenobi
 
Join Date: Nov 2007
Location: British Columbia, Canada
Posts: 125
jerchap is an unknown quantity at this point
Default

Quote:
Originally Posted by narupley View Post
There are a couple of ways to do that in 3.x.

First, if your destination isn't queuing, you can just create a subsequent Channel Writer destination, and use the previous destination's response. The previous destination (e.g. "Destination 1") will show up in the Destination Mappings table to the right, and you can drag-and-drop it into the template (it'll be something like "${d1.message}").

If your destination is queuing, you can create a response transformer and use VMRouter to manually route a message to a downstream channel.
It's kind of limiting now that the combo was removed because if you need to use routeMessage you need to code the channel name or id into javascript. If the channel name gets changed it can break the code. I also find it is less discoverable having to look for routeMessage calls in javascript if you want to discover message flow through Mirth. We also have tools that can graph the channel dependency as a directed graph which is super useful, but routeMessage statements can't be parse easily so we can't graph them
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 12:13 PM.


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