The ActiveMQ 5 broker uses a "topic://" prefix on its addresses to
indicate producing to or consuming from a topic node. You appear to be
adding "topic:://" instead, i.e an extra ":". I dont believe the
ActiveMQ5 broker looks for the "topic" terminus capability I referred
to in my previous reply.

If you dont specify a prefix [correctly] then it provides queue
behaviour (same as adding "queue://" prefix on address if you want to
be explicit) which might explain the behaviour you saw.

Robbie

On Mon, 6 Sept 2021 at 11:00, Millieret, Xavier
<xaviermillie...@eaton.com> wrote:
>
> Hi Robbie,
>
> Thx a lot for your answer, and help.
> You right, I miss some information about my issue.
>
> So I use qpid-proton, with cpp binding, the 0.34 release.
> I am on linux Debian 10
>
> I used activemq and activate amqp pluging with the following line:
> <transportConnector name="amqp" 
> uri="amqp://127.0.0.1:5672?transport.transformer=jms"/>
>
>
> So I try to use the equipage sample, and unfortunately, I can publish a 
> message, but if I launch two receiver like this:
> ./topic-receive amqp://127.0.0.1 topic:://examples 10
>
> And I publish a message like this:
> ./topic-send amqp://127.0.0.1 topic:://examples myMessage
>
> Unfortunately, I received the message but just for one receiver, and not for 
> the both!!!!
>
> Regrads
>
>
> From: Millieret, Xavier
> Sent: vendredi 3 septembre 2021 17:24
> To: 'users@qpid.apache.org' <users@qpid.apache.org>
> Subject: Publish, subscibe
>
> 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

Reply via email to