In the most basic sense you would simply create a receiver from the name of the topic, something many of the examples do show.
You dont say what proton language binding you are using, or what server you are consuming form, which makes it hard to give you specific advice. However from your outline I am taking a wild guess that it is ActiveMQ Artemis for the latter and if so that you are also relying on auto-creation, or you would know where to configure the routing type on the broker side address config. You can influence Artemis' decisions on its 'routing type' upon auto-creation by including a terminus capability of "queue"or "topic". In this case, for a receiver wanting topic behaviour, you would do this by adding a 'source' terminus capability of "topic" (for a sender you would use a 'target' capability). I know there is an example of that here: https://github.com/amqphub/equipage/blob/main/qpid-proton-cpp/auto-create/topic-receive.cpp, and if you are using another language you can find more examples in the same repo that may help. Robbie On Fri, 3 Sept 2021 at 16:24, Millieret, Xavier <xaviermillie...@eaton.com> wrote: > > Dear all, > > > I am writing an amqp client above to Qpid proton 0.35. > > I would like to write a simple subscriber for a topic name! > > I don't found, or see, any samples on it on qpid-proton samples? > > > > I read than to do that we must set the routing type to multicast, I don't > know how to do that, or see any samples on it! > > > > Any help will be appreciate. > > > > Regards > > Xavier Millieret > > > > > ________________________________ > Eaton Industries (France) S.A.S ~ Si?ge social: 110 Rue Blaise Pascal, > Immeuble Le Vis?o - B?timent A Innovall?e, 38330, Montbonnot-St.-Martin, > France ~ Lieu d'enregistrement au registre du commerce: Grenoble ~ Num?ro > d'enregistrement: 509 653 176 ~ Capital social souscrit et liber?:EUR > 16215441 ~ Num?ro de TVA: FR47509653176 > > ________________________________ > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org