Architecture Design and Implementation Built for the Cloud

A legacy application uses JMS with ActiveMQ-specific features, and its messaging code cannot change. New cloud services produce JSON that must become the application's existing XML messages; which design minimizes changes to the legacy application?

Show the answer

Correct answerA. Use Amazon MQ for ActiveMQ with a JSON-to-XML adapter.

AWhy this is right: Amazon MQ for ActiveMQ preserves broker compatibility, while the adapter keeps the legacy XML message contract unchanged.

BWhy not this: SNS provides publish/subscribe delivery but does not expose the existing ActiveMQ broker interface.

CWhy not this: SQS does not preserve ActiveMQ-specific messaging features, even when a JMS compatibility library is used.

DWhy not this: EventBridge routes events but does not provide the ActiveMQ interface required by the unchanged messaging code.

Amazon MQ for ActiveMQ preserves compatibility with ActiveMQ messaging features, while an adapter converts JSON into the existing XML contract. An SQS JMS library supports a subset of JMS functionality, not ActiveMQ-specific behavior.