🎄 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.

1:n behavior using AMQP

triptesh
triptesh Member Posts: 27

Hi, we have multiple instances of application and when we publish a message, all instances should get the message.

we can achieve the same using native soalce api using queue and topic. We create multiple queues and subscribe the same topic to each queue. And each instance of the application consumes from the respective queue. so when we publish a message to the topic, each of the instances get the message.

Can we achieve the same behavior using native AMQP Library ? Or Do we need to do the topic-subscription manually in order to achieve it ?

Tagged:

Best Answer

  • marc
    marc Member, Administrator, Moderator, Employee Posts: 963 admin
    #2 Answer ✓

    Hi @triptesh,

    Because AMQP is a standard protocol that is middlewhere agnostic it doesn't define a way to use solace specific features such as having queues subscribe to topics. As you suggested you'd have to use our management features (e.g: automated via SEMP, manually via PubSub+ Mgr, etc.) to add the topic subscriptions to the queue.

Answers

  • marc
    marc Member, Administrator, Moderator, Employee Posts: 963 admin
    #3 Answer ✓

    Hi @triptesh,

    Because AMQP is a standard protocol that is middlewhere agnostic it doesn't define a way to use solace specific features such as having queues subscribe to topics. As you suggested you'd have to use our management features (e.g: automated via SEMP, manually via PubSub+ Mgr, etc.) to add the topic subscriptions to the queue.