I actually think its possible that it is already creating a 'stable' name for the backing queue, but that your application is not fully supplying the same needed details on subsequent connection attempts.
The backing queue name will be composed of details around both a 'client id' and a subscription name, and both must be given the same value on subsequent attempts to use an existing subscription. In AMQP terms for Artemis that's the client connection container-id and the link name respectively. You are specifying the link name, but I suspect you are not supplying a fixed container-id and so the client is generating one for you on each connection, causing an independent subscription to be created for the new client id. I'll have a play and see if I can confirm. Robbie On Thu, 18 Jun 2020 at 09:40, mohank <moha...@eventtracker.com.invalid> wrote: > > Hi, > > I am using below configuration > Broker : Activemq Artemis > Client : QPID C++( QPID Messaging APIS's for AMQP 1.0) > > > using QPID C++ mesaging api, I want to create Queue with stable name(ex : > my-subscription) and routing type as "Multicast" > I am using address : "'news.*'; {node: {type:topic, capabilities: [shared] > }, link:{durable:True, name:'my-subscription'}}" > > But result looks totally different, It creates Queue name with random name, > every time I start the application It creates new queue with random name and > with its options. > Find the below screenshot fro the same. > > <http://qpid.2158936.n2.nabble.com/file/t396514/Queue_table_using_QPID.jpg> > > I have tried with NMS API from activeMQ, It creates the stable Queue name > with multicast routing type, Every time when i restart application, It > utilize the existing queue Or it create if it doesn't exist. > <http://qpid.2158936.n2.nabble.com/file/t396514/Queue_table.jpg> > > Is it possible to create Queue with stable name and multicast routing key > using QPID C++ Messaging API ? > > Thanks, > Mohan > > > > -- > Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org