Handling multiple response types #6232
-
I have an HTTP Sender destination for HL7v2 messages. Under normal circumstances, I get an HL7v2 response, but under certain error conditions, I get back HTML. I've been using the "HL7 v2.x" datatype, but when I receive an HTML response, that throws an error without recording the response content. In an attempt to handle both, I've changed the outbound datatype for the destination to be Raw and added the logic below to my response script. Questions:
|
Beta Was this translation helpful? Give feedback.
Answered by
pacmano1
Jun 19, 2024
Replies: 1 comment 6 replies
-
There are few things you need to do in a use case like this (ignoring your code for now):
|
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
pacmano1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are few things you need to do in a use case like this (ignoring your code for now):