Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Dynamically adding topic to subscription - C# and Java clients

A single client can subscribe to as many topics as needed, dynamically. Wildcards are handy, but there is no need to use wildcards if the structure doesn't permit it.

Paul

On 22 April 2015 at 02:30, Darren Clark <dclark@xxxxxxxxxxxxx> wrote:

You mean to someone else's subscription? No.  They can use a wildcard.

If the client application knows the customer had been added, they can subscribe, there can be multiple subscriptions peer connection.

If there's some reason that you can't use a wildcard, you could use another topic to notify the subscriber of the new topic it should subscribe to. e.g. Have a customer/activity topic and publish that a new customer was created to there.

On Apr 21, 2015 1:00 PM, "Guy Dillen" <guy.dillen@xxxxxxxxx> wrote:
Hi,

Is there a way to dynamically add a topic to an existing subscription (when an aplication is running)?

Use case: when a new customer gets provisioned by adding a new topic an application that processes the type of topic should get the messages send to the topic.

Thanks.

Sent from Outlook


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev



--
Paul Fremantle
Part-time PhD student - School of Computing
twitter: pzfreo / skype: paulfremantle / blog: http://pzf.fremantle.org
Co-Founder, WSO2
Apache Member and Committer
07740 199 729

Back to the top