Getting information from channel in channel writer #4514
Unanswered
skhilliard
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You can send any message you want from the downstream channel back upstream as the downstream channel's response. Then you can access it in the response transformer of the calling channel. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is the recommended approach for getting information back from a channel specified by a channel writer destination? We have a situation where we delegate work to channels in a somewhat dynamic way to help us accommodate working with many different HIS systems...
...the ${mirthChannel} channel could be implemented in any number of ways. So far, the only way I have found to have access to information that comes from responses in the ${mirthChannel} channel back int the originating channel writer is to put data into the globalMap. However, that seems like a hack. Is there a better way to get information (as well as success/failure) from the channel indicated by ${mirthChannel} back to the channel writer invoking it?
Thanks,
Kelly
Beta Was this translation helpful? Give feedback.
All reactions