The pipe parser is consistently taking 20+ seconds to (correctly) parse a pipe-formatted message. This message has a BASE64 encoded PDF in an OBX segment with OBX-2 = "RP" and OBX-5 having the base-64 encoding starting "ADTX^Image^PDF^Base64^JVBERi0xLjQN..."
The pipe parser will later re-encoded the parsed message back to an almost identical plaintext (minus a few trailing pipes, etc), so there don't seem to be any validation errors.
This 37kb message is our early test message and later messages could be longer.
Is this expected?
What is the root cause of this slow performance?
Are there workarounds without changing the communicated data that will speed this up?
My only guess that this is due to a Regexp-based parser with an inefficiently written rule.