# \#python

**URL:** https://community.solace.com/tag/python/70.md

[Latest](https://community.solace.com/latest.md) · [Categories](https://community.solace.com/categories.md) · [Tags](https://community.solace.com/tags.md)

---

## [Python Message Transfer App (DMQ Reprocessing)](https://community.solace.com/t/python-message-transfer-app-dmq-reprocessing/4710)

<div class="topic-metadata">

**Author:** [@AllenW](https://community.solace.com/u/AllenW)\
**Replies:** 2\
**Last updated:** [January 8, 2026, 6:08am UTC](https://community.solace.com/t/python-message-transfer-app-dmq-reprocessing/4710 "2026-01-08T06:08:04Z")

</div>

Hi Solace Community, I’m working on a little project related to Dead-Message-Queue processing. Part of this is monitoring, alerting and investigating messages that arrive in a DMQ. The last part is reprocessing (where a…

---

## [Impact of Modifying Message Body Before Acknowledgment with persistent\_message\_receiver.ack()](https://community.solace.com/t/impact-of-modifying-message-body-before-acknowledgment-with-persistent-message-receiver-ack/2112)

<div class="topic-metadata">

**Author:** [@hobart](https://community.solace.com/u/hobart)\
**Replies:** 1\
**Last updated:** [January 24, 2025, 10:51pm UTC](https://community.solace.com/t/impact-of-modifying-message-body-before-acknowledgment-with-persistent-message-receiver-ack/2112 "2025-01-24T22:51:32Z")

</div>

I have a question regarding the persistent\_message\_receiver.ack() method. According to the documentation, ,when I acknowledge a message, I need to attach the message as a parameter. In our use case, the message body…

---

## [How to monitor Solace as an external consumer](https://community.solace.com/t/how-to-monitor-solace-as-an-external-consumer/2108)

<div class="topic-metadata">

**Author:** [@cl0udf0x](https://community.solace.com/u/cl0udf0x)\
**Replies:** 5\
**Last updated:** [January 22, 2025, 7:58am UTC](https://community.solace.com/t/how-to-monitor-solace-as-an-external-consumer/2108 "2025-01-22T07:58:19Z")

</div>

Hi, I have inherited an application that consumes messages from an external Solace pub+sub system and fairly new to it. What would be the best way to monitor from a consumer perspective? Having been thinking of the fo…

---

## [Random "failed to retrieve" error in streaming scenario](https://community.solace.com/t/random-failed-to-retrieve-error-in-streaming-scenario/2093)

<div class="topic-metadata">

**Author:** [@Tuuliyo](https://community.solace.com/u/Tuuliyo)\
**Replies:** 5\
**Last updated:** [November 27, 2024, 11:32am UTC](https://community.solace.com/t/random-failed-to-retrieve-error-in-streaming-scenario/2093 "2024-11-27T11:32:55Z")

</div>

Hello together, I currently working on a lokal setup where solace software acts as the message broker in docker setup. I try to receive events from a existing queue, which is not a problem in general, but in my case I e…

---

## [Solace Queue Browser Using Python](https://community.solace.com/t/solace-queue-browser-using-python/2055)

<div class="topic-metadata">

**Author:** [@AllenW](https://community.solace.com/u/AllenW)\
**Replies:** 2\
**Last updated:** [October 18, 2024, 9:05pm UTC](https://community.solace.com/t/solace-queue-browser-using-python/2055 "2024-10-18T21:05:19Z")

</div>

Was wondering if anyone has had any luck with building a queue browser using Python & the Solace Python API? I have seen some queue browsing options using SDKPerf & Java (including the Chrome Browser) but I was hoping t…

---

## [Message published but cant figure out the error.](https://community.solace.com/t/message-published-but-cant-figure-out-the-error/2004)

<div class="topic-metadata">

**Author:** [@Amey](https://community.solace.com/u/Amey)\
**Replies:** 2\
**Last updated:** [August 28, 2024, 6:34pm UTC](https://community.solace.com/t/message-published-but-cant-figure-out-the-error/2004 "2024-08-28T18:34:58Z")

</div>

Hello I am new to Solace. I want to publish messages to solace. I have messages in JSON format which I convert in bytes and then publish it. At the receiver’s end we can see that the messgae is receieved but I get the f…

---

## [Is there a plan for an arm linux python build](https://community.solace.com/t/is-there-a-plan-for-an-arm-linux-python-build/1964)

<div class="topic-metadata">

**Author:** [@jrt](https://community.solace.com/u/jrt)\
**Replies:** 5\
**Last updated:** [July 10, 2024, 2:49pm UTC](https://community.solace.com/t/is-there-a-plan-for-an-arm-linux-python-build/1964 "2024-07-10T14:49:59Z")

</div>

I saw that an arm python build Mac was released recently. Are there any plans for an arm build for linux?

---

## [PubSub+ Messaging Python API - Deliver-To-One](https://community.solace.com/t/pubsub-messaging-python-api-deliver-to-one/1962)

<div class="topic-metadata">

**Author:** [@bedyman](https://community.solace.com/u/bedyman)\
**Replies:** 1\
**Last updated:** [July 8, 2024, 6:40pm UTC](https://community.solace.com/t/pubsub-messaging-python-api-deliver-to-one/1962 "2024-07-08T18:40:08Z")

</div>

Hi all, I would need to set in Python API Deliver-To-One property to True. Because multiple subsribers are listening to my requests, I get the same response from every of them. In docs I found that it can be done for J…

---

## [Round Robin configuration](https://community.solace.com/t/round-robin-configuration/1943)

<div class="topic-metadata">

**Author:** [@johanbento](https://community.solace.com/u/johanbento)\
**Replies:** 0\
**Last updated:** [June 5, 2024, 10:23pm UTC](https://community.solace.com/t/round-robin-configuration/1943 "2024-06-05T22:23:28Z")

</div>

Hi! I have a question abount using Solace Python SDK to connect to a non-exclusive queue. The Solace PubSub+ is self hosted and there are two consumers connected to a non exclusive type queue. The consumer takes about 5…

---

## [MessagePublishReceiptListener is not getting the acknowledgement python API](https://community.solace.com/t/messagepublishreceiptlistener-is-not-getting-the-acknowledgement-python-api/1887)

<div class="topic-metadata">

**Author:** [@Shijo](https://community.solace.com/u/Shijo)\
**Replies:** 2\
**Last updated:** [April 24, 2024, 6:12pm UTC](https://community.solace.com/t/messagepublishreceiptlistener-is-not-getting-the-acknowledgement-python-api/1887 "2024-04-24T18:12:55Z")

</div>

class SolaceMessagePublishReceiptListener(MessagePublishReceiptListener): def \_\_init\_\_(self): self.\_publish\_count = 0 @property def get\_publish\_count(self): return self.\_publish\_count d…

---

## [python qpid-proton cannot access solace broker after rename Message VPN](https://community.solace.com/t/python-qpid-proton-cannot-access-solace-broker-after-rename-message-vpn/1891)

<div class="topic-metadata">

**Author:** [@Ting\_1](https://community.solace.com/u/Ting_1)\
**Replies:** 4\
**Last updated:** [April 24, 2024, 1:44am UTC](https://community.solace.com/t/python-qpid-proton-cannot-access-solace-broker-after-rename-message-vpn/1891 "2024-04-24T01:44:25Z")

</div>

Hi everyone, I have some problems with connecting to solace with qpid-proton python. I connected to Solace that isn’t running on my local machine but other server, and I could send the message into the queue with the s…

---

## [PubSub+ Messaging API for Python with Mac M-series Support - Now Available](https://community.solace.com/t/pubsub-messaging-api-for-python-with-mac-m-series-support-now-available/1908)

<div class="topic-metadata">

**Author:** [@murat](https://community.solace.com/u/murat)\
**Replies:** 0\
**Last updated:** [April 16, 2024, 2:43pm UTC](https://community.solace.com/t/pubsub-messaging-api-for-python-with-mac-m-series-support-now-available/1908 "2024-04-16T14:43:00Z")

</div>

I am pleased to announce that as of the latest release of our Python API ( v. 1.7.0 ) it now has support for Mac M-series processors so developers can use the API when developing applications on the latest Mac hardware. …

---

## [solace-pubsubplus is not getting installed in python:3.8.0-alpine3.10](https://community.solace.com/t/solace-pubsubplus-is-not-getting-installed-in-python-3-8-0-alpine3-10/1835)

<div class="topic-metadata">

**Author:** [@Shijo](https://community.solace.com/u/Shijo)\
**Replies:** 4\
**Last updated:** [February 15, 2024, 3:06pm UTC](https://community.solace.com/t/solace-pubsubplus-is-not-getting-installed-in-python-3-8-0-alpine3-10/1835 "2024-02-15T15:06:11Z")

</div>

Trying to install the solace-pubsubplus==1.6.0 into the python3.8.0-alphine3.10 inside the docker ERROR: Could not find a version that satisfies the requirement solace-pubsubplus==1.6.0 (from versions: 0.2.0, 0.2.1) ER…

---

## [SSL 'SSL-client' cannot read, sslErr = 5 in python client](https://community.solace.com/t/ssl-ssl-client-cannot-read-sslerr-5-in-python-client/1839)

<div class="topic-metadata">

**Author:** [@Shijo](https://community.solace.com/u/Shijo)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 4:30am UTC](https://community.solace.com/t/ssl-ssl-client-cannot-read-sslerr-5-in-python-client/1839 "2024-01-24T04:30:07Z")

</div>

Not able to connect to the solace broker using the python client library. Below mentioned how i connected: SOLACE\_BROKER\_PROPERTIES = { "solace.messaging.client.name": "test-client", "solace.messaging.transpor…

---

## [Python connect to Solace PubSub+ OAuth2.0](https://community.solace.com/t/python-connect-to-solace-pubsub-oauth2-0/1833)

<div class="topic-metadata">

**Author:** [@Shijo](https://community.solace.com/u/Shijo)\
**Replies:** 1\
**Last updated:** [January 15, 2024, 5:21am UTC](https://community.solace.com/t/python-connect-to-solace-pubsub-oauth2-0/1833 "2024-01-15T05:21:26Z")

</div>

Here is my code snippet import solace.messaging.messaging\_service as service from solace.messaging.publisher.outbound\_message import OutboundMessageBuilder from solace.messaging.publisher.persistent\_message\_publ…

---

## [Python users! What are you using the Python API for?](https://community.solace.com/t/python-users-what-are-you-using-the-python-api-for/1478)

<div class="topic-metadata">

**Author:** [@Tamimi](https://community.solace.com/u/Tamimi)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 11:38am UTC](https://community.solace.com/t/python-users-what-are-you-using-the-python-api-for/1478 "2024-01-12T11:38:02Z")

</div>

Hey folks! As most of you know by now, we have a Solace PubSub+ Messaging API for Python and I am curious to know what use-cases you are using it for? How are you using the Python API? Where are you using it at? Happy t…

---

## [cache request on python](https://community.solace.com/t/cache-request-on-python/1793)

<div class="topic-metadata">

**Author:** [@Chris](https://community.solace.com/u/Chris)\
**Replies:** 4\
**Last updated:** [November 7, 2023, 1:44am UTC](https://community.solace.com/t/cache-request-on-python/1793 "2023-11-07T01:44:56Z")

</div>

I use CachedMessageSubscriptionRequest.cached\_first to call cache data but I got Fail on\_completion \* CacheRequestOutcomeListenerHandler:CacheRequestOutcome.FAILED, cache\_request\_id:3 exception:Unable to send cache …

---

## [Cache request on python](https://community.solace.com/t/cache-request-on-python/1790)

<div class="topic-metadata">

**Author:** [@Chris](https://community.solace.com/u/Chris)\
**Replies:** 3\
**Last updated:** [November 3, 2023, 3:30pm UTC](https://community.solace.com/t/cache-request-on-python/1790 "2023-11-03T15:30:41Z")

</div>

I found that solace PubSub+ 1.6.0 support cache But I follow this step to do cache request I can not receive the cache message from direct\_receiver.receive\_async(MessageHandlerExample()) but I can use DirectMess…

---

## [Python Proton AMQPS Transport Error](https://community.solace.com/t/python-proton-amqps-transport-error/1131)

<div class="topic-metadata">

**Author:** [@stushep](https://community.solace.com/u/stushep)\
**Replies:** 6\
**Last updated:** [October 12, 2023, 6:44am UTC](https://community.solace.com/t/python-proton-amqps-transport-error/1131 "2023-10-12T06:44:48Z")

</div>

Good afternoon all, Am having some odd behavior using a varient of Solace demo code for Python/Proton AMQPS connection: solace-samples-amqp-qpid-proton-python/src/simple\_recv.py at master · SolaceSamples/solace-samples…

---

## [Match (regex) incoming message topic to a list of topics (Python)](https://community.solace.com/t/match-regex-incoming-message-topic-to-a-list-of-topics-python/1746)

<div class="topic-metadata">

**Author:** [@MrSmart](https://community.solace.com/u/MrSmart)\
**Replies:** 1\
**Last updated:** [October 6, 2023, 3:14pm UTC](https://community.solace.com/t/match-regex-incoming-message-topic-to-a-list-of-topics-python/1746 "2023-10-06T15:14:05Z")

</div>

Hi, I have a queue which is internally subscribed to various topics. When I read from this queue I can retrieve the original topic. I have a list of actions in my application that run based on whether or not this topic…

---

## [python3 using qpid::proton with Solace pubsub+ broker](https://community.solace.com/t/python3-using-qpid-proton-with-solace-pubsub-broker/1630)

<div class="topic-metadata">

**Author:** [@coz787](https://community.solace.com/u/coz787)\
**Replies:** 2\
**Last updated:** [September 30, 2023, 9:16am UTC](https://community.solace.com/t/python3-using-qpid-proton-with-solace-pubsub-broker/1630 "2023-09-30T09:16:20Z")

</div>

Hello all, In the european aviation community a well know provider of flight data has change its internal AMQP1.0 broker, switching from Apache ActiveMQ to Solace PubSub+. A set of our application but very few in fact …

---

## [How to return 'show current-config all' using SEMP API](https://community.solace.com/t/how-to-return-show-current-config-all-using-semp-api/1740)

<div class="topic-metadata">

**Author:** [@AllenW](https://community.solace.com/u/AllenW)\
**Replies:** 1\
**Last updated:** [August 23, 2023, 7:02am UTC](https://community.solace.com/t/how-to-return-show-current-config-all-using-semp-api/1740 "2023-08-23T07:02:10Z")

</div>

Trying to construct an API request for the ‘show current-config all’ CLI command but not sure if this is possible for the SEMP API. Does anyone know if this is possible? Here is what I have tried with python. requestBo…

---

## [Python TLS Connection Reset By Peer](https://community.solace.com/t/python-tls-connection-reset-by-peer/1741)

<div class="topic-metadata">

**Author:** [@MrSmart](https://community.solace.com/u/MrSmart)\
**Replies:** 11\
**Last updated:** [August 18, 2023, 11:44am UTC](https://community.solace.com/t/python-tls-connection-reset-by-peer/1741 "2023-08-18T11:44:46Z")

</div>

I’m a bit at loss here, Solace shows everything is ready to accept TLS connections but it refuses with the following error on the client side: solace.messaging.errors.pubsubplus\_client\_error.PubSubPlusCoreClientError: {…

---

## [Synchronous publish in python ?](https://community.solace.com/t/synchronous-publish-in-python/1623)

<div class="topic-metadata">

**Author:** [@uherbst](https://community.solace.com/u/uherbst)\
**Replies:** 3\
**Last updated:** [April 22, 2023, 6:08pm UTC](https://community.solace.com/t/synchronous-publish-in-python/1623 "2023-04-22T18:08:18Z")

</div>

Hi all, what is the easiest, most clean code to publish ONE guaranteed message in python and only proceed after the ACK from the broker has arrived ? (I know, that this usage pattern is not performant, if I have many m…

---

## [Consume existing Solace Queue using Python](https://community.solace.com/t/consume-existing-solace-queue-using-python/1641)

<div class="topic-metadata">

**Author:** [@jawaharyuvr](https://community.solace.com/u/jawaharyuvr)\
**Replies:** 2\
**Last updated:** [April 20, 2023, 5:18pm UTC](https://community.solace.com/t/consume-existing-solace-queue-using-python/1641 "2023-04-20T17:18:46Z")

</div>

Hi @marc.dipasquale @Tamimi \> we have existing solace queue with topic subscription enabled. need to listen and print message flowing to that queue. tried below code & got error, please help. persistent\_receiver…

---

## [Python connect to solace Pubsub+ cloud](https://community.solace.com/t/python-connect-to-solace-pubsub-cloud/709)

<div class="topic-metadata">

**Author:** [@onkar1712](https://community.solace.com/u/onkar1712)\
**Replies:** 14\
**Last updated:** [April 14, 2023, 6:18pm UTC](https://community.solace.com/t/python-connect-to-solace-pubsub-cloud/709 "2023-04-14T18:18:18Z")

</div>

I have service created on Loading... on GCP platform and I am trying to connect to this service from python 3.7 using solace-pubsubplus pypi package: solace-pubsubplus · PyPI Here is my code snippet for connecting to th…

---

## [Connecting Solace using Python with TLS](https://community.solace.com/t/connecting-solace-using-python-with-tls/1628)

<div class="topic-metadata">

**Author:** [@jawaharyuvr](https://community.solace.com/u/jawaharyuvr)\
**Replies:** 3\
**Last updated:** [April 14, 2023, 6:13pm UTC](https://community.solace.com/t/connecting-solace-using-python-with-tls/1628 "2023-04-14T18:13:14Z")

</div>

Hi @Tamimi \> , kindly help with below connection error whether certificates are not loading or need to do changes in code. from solace.messaging.messaging\_service import MessagingService, RetryStrategy from solace…

---

## [How to Publish messages in JSON Format in PYTHON ?](https://community.solace.com/t/how-to-publish-messages-in-json-format-in-python/1598)

<div class="topic-metadata">

**Author:** [@ranganathrangu](https://community.solace.com/u/ranganathrangu)\
**Replies:** 1\
**Last updated:** [March 6, 2023, 2:49pm UTC](https://community.solace.com/t/how-to-publish-messages-in-json-format-in-python/1598 "2023-03-06T14:49:17Z")

</div>

Hi Myself ranganath working as software engineer in standard chartered bank my requirement is to publish message in JSON Format in python . Kindly assist.

---

## [Does Python have this Cache Session??](https://community.solace.com/t/does-python-have-this-cache-session/1578)

<div class="topic-metadata">

**Author:** [@Chris](https://community.solace.com/u/Chris)\
**Replies:** 2\
**Last updated:** [February 20, 2023, 8:47am UTC](https://community.solace.com/t/does-python-have-this-cache-session/1578 "2023-02-20T08:47:26Z")

</div>

For C#,I can use SendCacheRequest to get a synchronous cache request. But in Python I can’t find any package allow request cache session? can any one help me? Thank you.

---

## [Tuning pre-fetch for load balancing in Python](https://community.solace.com/t/tuning-pre-fetch-for-load-balancing-in-python/1519)

<div class="topic-metadata">

**Author:** [@AlexanderJHallAgain](https://community.solace.com/u/AlexanderJHallAgain)\
**Replies:** 2\
**Last updated:** [February 1, 2023, 10:08pm UTC](https://community.solace.com/t/tuning-pre-fetch-for-load-balancing-in-python/1519 "2023-02-01T22:08:13Z")

</div>

Hi Team, I have built a system comprised of a number of workers, N, (or application processing engines) fed by a single non exclusive queue. Each job on the queue either takes between 20 second and a minute to complete…

[Next page](https://community.solace.com/tag/python/70.md?match_all_tags=true&page=1&tags%5B%5D=python)
