← Back to team overview

mosquitto-users team mailing list archive

Re: Deliver a message to only one subscriber of subscribers which subscribe a topic

 

Hi Takahiro,

What you describe is unfortunately not something that MQTT supports.
All subscribers to a topic receive all messages. You could produce
similar behaviour by spreading your messages out over multiple topics
with one subscriber per topic, but it isn't really what you are after
I think.

Regards,

Roger

On Wed, Dec 18, 2013 at 9:02 PM, Takahiro Inaba <tinaba@xxxxxxxxxx> wrote:
> Hi,
>
> I'm trying to build high rate messaging system using mosquitto. When a
> subscriber cannot process all messages sent to a topic, can multiple
> subscribers share the work like the shared subscription of Java Message
> Service 2.0? I think mount_point is not designed for this purpose. Do I have
> to use a message queue which subscribes a topic on a mosquitto?
>
> Best regards,
>
> Takahiro
>
>
> --
> Mailing list: https://launchpad.net/~mosquitto-users
> Post to     : mosquitto-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mosquitto-users
> More help   : https://help.launchpad.net/ListHelp
>


Follow ups

References