https://github.com/CDCgov/prime-reportstream/pull/16258/files does not encode messages to base64 before sending to the poison queue, which results in the poison queue messages not being able to be processed by the Azure framework when moved back to a normal queue.
Impact on ReportStream
Engagement team cannot re-queue poison queue messages that were created by the new code.
Steps to reproduce
Steps to reproduce the behavior:
We can reproduce locally:
Set up a sender-receiver pair
Update the schema of the receiver to be an invalid value
Send a message
Verify a message appears in translate poison queue
Try to move the poison queue message to the normal queue and see that the breakpoint in FHIRFunctions.translate never gets hit and message remains in poison queue
Expected behavior
poison queue message should get reprocessed when moved to normal queue
Describe the bug
https://github.com/CDCgov/prime-reportstream/pull/16258/files does not encode messages to base64 before sending to the poison queue, which results in the poison queue messages not being able to be processed by the Azure framework when moved back to a normal queue.
Impact on ReportStream
Engagement team cannot re-queue poison queue messages that were created by the new code.
Steps to reproduce
Steps to reproduce the behavior:
We can reproduce locally:
Expected behavior
poison queue message should get reprocessed when moved to normal queue