Python - publish and subscribe message with message in the Content and not in the Attachment
In our current use case we will be expecting published messages to be stored in the Attachment or in Content from our external broker.
Our python subscriber currently can read published messages via get_payload_as_string() or get_payload_as_bytes().decode("utf-8").
1. How can we publish a message via python and stored as a Content and not an attachment? See screenshot
2. How can our python subscriber app read the messages in the content when the attachment size is 0 and Content size > 0?
We have tried publishing messages using your docker ui sample but and no option to publish message as a content. https://solace.com/products/event-broker/software/getting-started/
We have tried using the Try-Me! page under the solace management ui, and no option to publish message as a content
We have tried publishing message via python api with all the properties but the published messaged is as an attachment.
from the solace sample python in github
outbound_msg = messaging_service.message_builder() \
.with_property("custom_key", "custom_value") \
.with_http_content_header("text/html", _sol_constants.ENCODING_TYPE) \