i’m currently doing a project related to AWS and at some point will need to pass different kind of messages to SQS queue. I don’t want to pass the messages as strings but would rather place the objects converted to xml format by jaxb for instance, e.g. writer. Any suggestions?
Thanks
Since XML is a string, you can just pas a string of XML data. Only the sending and receiving applications need to be aware that the string is XML. Everything else can treat it just like any other string.
You just need to serialize / de-serialize the message to and from XML, which it sounds like you are looking to do anyways.