Solace Community is getting a facelift!
On March 3rd we will be starting the process of migrating Solace Community to a new platform. As a result, Solace Community will go in to a temporary read-only state. You will still be able to come onto Solace Community and search through posts to find answers, but you won't be able to ask questions, post comments, or react in any way.
We hope to have the migration complete by Wednesday March 5th (or sooner), so please keep an eye out!
Transactions not supported
Hi, I'm actually a newbie to AMQP and Solace. I have questions regarding a issue publishing message using "AMQP 1.0 library for .Net" to Solace.
i) I kept getting "Transactions not supported" when I try to publish message in a transaction scope. May I know if this is an expected exception? The Solace's AMQP 1.0 conformance documentation seems to mention that "An event broker does not support transactional messaging."
ii) If so, may I know if any of you would be so kind to guide me to any existing community message that provide the workaround? I've been trying to search the community messages to no avail...
Appreciate.
Best Answer
-
Hi @JerryP, Solace does support transactions in two ways:
- "local transactions" - a proprietary feature of Solace that requires the use of native APIs to use;
- XA transactions - which require an XA infrastructure and JMS.
So you won't be able to use transactions in AMQP. Since you're using .Net, you could use the Solace native .Net API with local transactions.
1
Answers
-
Hi @JerryP, Solace does support transactions in two ways:
- "local transactions" - a proprietary feature of Solace that requires the use of native APIs to use;
- XA transactions - which require an XA infrastructure and JMS.
So you won't be able to use transactions in AMQP. Since you're using .Net, you could use the Solace native .Net API with local transactions.
1