A software company maintains a Java-based microservice that reads and processes messages from Amazon SQS. The current implementation fails when messages exceed 256 KB in size, which is the maximum supported by SQS natively. The company needs a way to support messages as large as 50 MB without rewriting the core logic of the application. What is the most efficient way to extend support for larger messages with the fewest code modifications?