Hello,
I've got the solution and its explanation.
Each connection needs /a unique ClientID/ :
*connection.setClientID("clientID");*
My mistake was to understand this unicity for a given client.
When a client subscribes to a Topic, there is one connection for this Topic.
So, for a given client su
287852>
2016-09-16 20:47 GMT+02:00 Tim Bain [via ActiveMQ] <
ml-node+s2283324n471660...@n4.nabble.com>:
> At the time you try to unsubscribe, is a client with that ID connected?
> If
> so, you need to close the existing consumer before unsubscribing.
>
> Tim
>
> On Se
Hello there,I'm trying to *UNSUBSCRIBE durable subscribers from TOPICS*.My
app is a kind of social network : each user is a topic for other users. So,
each time a user is doing something, his friends are notified.Of course, a
subscriber may unsubscribe from a topic, wanting to receive notifications
need to remove the
> MessageListener;" why is this necessary prior to unsubscribing?
>
> Tim
>
> On Sep 13, 2016 12:34 PM, "Lovegiver" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4716516&i=0>> wrote:
>
> > Hello,
>
Hello,
I have created *DurableSubscribers* for different *topics*.
A *MessageListener *has been implemented.
Some of these subscribers would like to *unsubscribe *one or more topics.
Before they may do so, I need to *remove the MessageListener*.
How can I do that ?
Thanx for your help.
--
V