🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Transactions not supported

JerryP
JerryP Member Posts: 1

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.

Tagged:

Best Answer

  • TomF
    TomF Member, Employee Posts: 412 Solace Employee
    #2 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.

Answers

  • TomF
    TomF Member, Employee Posts: 412 Solace Employee
    #3 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.