Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] paho-dev Digest, Vol 50, Issue 16

Hi Andy,

Unfortunately,  no, this is not the purpose. So, this utility isnt a REAL subscriber. Messages will be donsumed by actual subscribers. This utility will simply browse the messages and list them for viewing. Something similar to IBM mq windows explorere etc.

Sent from mobile device.
________________________________________
From: paho-dev-bounces@xxxxxxxxxxx [paho-dev-bounces@xxxxxxxxxxx] on behalf of paho-dev-request@xxxxxxxxxxx [paho-dev-request@xxxxxxxxxxx]
Sent: 08 February 2016 23:14
To: paho-dev@xxxxxxxxxxx
Subject: paho-dev Digest, Vol 50, Issue 16

Send paho-dev mailing list submissions to
        paho-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/paho-dev
or, via email, send a message with subject or body 'help' to
        paho-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
        paho-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of paho-dev digest..."


Today's Topics:

   1. Re: non-destructive read (Andy Stanford-Clark)


----------------------------------------------------------------------

Message: 1
Date: Mon, 8 Feb 2016 17:44:04 +0000
From: Andy Stanford-Clark <ANDYSC@xxxxxxxxxx>
To: General development discussions for paho project
        <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] non-destructive read
Message-ID:
        <OF71380397.FA44BF12-ON80257F53.006149C0-80257F53.00616B4C@xxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

your utility app will receive its own copy of all the messages that are
published to the topic you are watching.
So you can look at and browse them for debug purposes, as it will be your
own copy, and won't interfere at all with any of the messages received by
other subscribers.
That's the beauty of pub/sub ;)

Does that help for what you're trying to do?

Andy


Andy Stanford-Clark
Distinguished Engineer, Internet of Things

Master Inventor, Member IBM Academy of Technology, Fellow BCS
Honorary Professor University of East Anglia, Visiting Professor
University of Newcastle
Tel: +44 (0)7801 787096 [internal: 37 277624]   twitter:@andysc




From:   Rohit Dhall <dhall.r@xxxxxxx>
To:     "paho-dev@xxxxxxxxxxx" <paho-dev@xxxxxxxxxxx>,
Date:   08/02/2016 14:34
Subject:        Re: [paho-dev] non-destructive read
Sent by:        paho-dev-bounces@xxxxxxxxxxx





Hi,

Retained message may not serve for what I am looking. I am planning a UI
based utility for browsing messages,for easy testing/debugging during
development,so that devs can see  messages lying in the topic. I
understand mqtt doesnt support it. What are the alternatives?
Sent from mobile device.
________________________________________
From: paho-dev-bounces@xxxxxxxxxxx [paho-dev-bounces@xxxxxxxxxxx] on
behalf of paho-dev-request@xxxxxxxxxxx [paho-dev-request@xxxxxxxxxxx]
Sent: 08 February 2016 18:58
To: paho-dev@xxxxxxxxxxx
Subject: paho-dev Digest, Vol 50, Issue 14

Send paho-dev mailing list submissions to
        paho-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/paho-dev
or, via email, send a message with subject or body 'help' to
        paho-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
        paho-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of paho-dev digest..."


Today's Topics:

   1. Re: non-destructive read (Stefano Costa)
   2. Re: non-destructive read (Rohit Dhall)
   3. Re: non-destructive read (Peter Niblett)


----------------------------------------------------------------------

Message: 1
Date: Mon, 08 Feb 2016 10:20:13 +0100
From: Stefano Costa <stefano.costa@xxxxxxxxxxx>
To: General development discussions for paho project
        <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] non-destructive read
Message-ID: <56B85DCD.2000700@xxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 08/02/2016 10:16, Kamil Baczkowicz wrote:
> Hi,
>
> What about creating a subscription for the relevant topic filter(s) and
> QoS=0? Is that not any good?
>
> Kamil
>
> On Mon, Feb 8, 2016 at 8:42 AM, Rohit Dhall <dhall.r@xxxxxxx> wrote:
>
>> Hi,
>>
>>
>>
>> Is there a way, I can browse messages lying on a mosquitto server
topic,
>> using java, without removing them(non-destructive read)?
>>
>>
>>
>> Any help/pointer to the correct APi will be of great help


On the other hand using "retained" messages is the MQTT way of
implementing something very similar.

--
   Stefano Costa, Managing Director R&D

   M +39 335 6565749
   Skype stefanocosta.bluewind
   Twitter @stefanobluewind
   http://www.bluewind.it



------------------------------

Message: 2
Date: Mon, 8 Feb 2016 09:25:43 +0000
From: Rohit Dhall <dhall.r@xxxxxxx>
To: "paho-dev@xxxxxxxxxxx" <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] non-destructive read
Message-ID:

<SG2PR04MB12301A69E83BAE5FA8215AC1E3D50@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>

Content-Type: text/plain; charset="us-ascii"

Hi Kamil,

>>>> What about creating a subscription for the relevant topic filter(s)
and QoS=0? Is that not any good?

This will cause the message to be delivered at most once. Not exactly what
I am looking for. I simply want to browse messages, without impacting
their delivery/consumption by any other application. If MQTT doesn't
support it directly, is there any other way around?


Regards,
Rohit Dhall
Enterprise Architect, Technology Office-TFG, HCL Technologies
+91-9811181701




-----Original Message-----
From: paho-dev-bounces@xxxxxxxxxxx [mailto:paho-dev-bounces@xxxxxxxxxxx]
On Behalf Of paho-dev-request@xxxxxxxxxxx
Sent: Monday, February 08, 2016 2:46 PM
To: paho-dev@xxxxxxxxxxx
Subject: paho-dev Digest, Vol 50, Issue 13

Send paho-dev mailing list submissions to
        paho-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/paho-dev
or, via email, send a message with subject or body 'help' to
        paho-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
        paho-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than
"Re: Contents of paho-dev digest..."


Today's Topics:

   1. Re: non-destructive read (Nicholas O'Leary)
   2. Re: non-destructive read (Kamil Baczkowicz)


----------------------------------------------------------------------

Message: 1
Date: Mon, 8 Feb 2016 08:47:58 +0000
From: "Nicholas O'Leary" <nick.oleary@xxxxxxxxx>
To: General development discussions for paho project
        <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] non-destructive read
Message-ID:
 <CAF=vhqf9QNAx-B8+96CC7ZZw9C=Vaf=H7gqp9mPNVMCZqb=_Ow@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Hi,

no, the MQTT protocol does not support that type of operation.

Nick

On 8 February 2016 at 08:42, Rohit Dhall <dhall.r@xxxxxxx> wrote:

> Hi,
>
>
>
> Is there a way, I can browse messages lying on a mosquitto server
> topic, using java, without removing them(non-destructive read)?
>
>
>
> Any help/pointer to the correct APi will be of great help
>
>
>
> Regards,
>
> Rohit Dhall
>
> Enterprise Architect, Technology Office-TFG, HCL Technologies
>
> +91-9811181701
>
>
>
> [image: tfg]
>
>
> ::DISCLAIMER:: The contents of this e-mail and any attachment(s) are
> confidential and intended for the named recipient(s) only. E-mail
> transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive
> late or incomplete, or may contain viruses in transmission. The e mail
> and its contents (with or without referred errors) shall therefore not
> attach any liability on the originator or HCL or its affiliates. Views
> or opinions, if any, presented in this email are solely those of the
> author and may not necessarily reflect the views or opinions of HCL or
> its affiliates. Any form of reproduction, dissemination, copying,
> disclosure, modification, distribution and / or publication of this
> message without the prior written consent of authorized representative
> of HCL is strictly prohibited. If you have received this email in
> error please delete it and notify the sender immediately. Before
> opening any email and/or attachments, please check them for viruses and
other defects..
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://dev.eclipse.org/mailman/private/paho-dev/attachments/20160208/1d6bc9d7/attachment.html
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5006 bytes
Desc: not available
URL: <
https://dev.eclipse.org/mailman/private/paho-dev/attachments/20160208/1d6bc9d7/attachment.png
>

------------------------------

Message: 2
Date: Mon, 8 Feb 2016 09:16:20 +0000
From: Kamil Baczkowicz <kamil.baczkowicz@xxxxxxxxx>
To: General development discussions for paho project
        <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] non-destructive read
Message-ID:
 <CAHtMjFr928Do+uWSZoEqPq5UFrdd17ykoko+e1gwERrQ1emp-w@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Hi,

What about creating a subscription for the relevant topic filter(s) and
QoS=0? Is that not any good?

Kamil

On Mon, Feb 8, 2016 at 8:42 AM, Rohit Dhall <dhall.r@xxxxxxx> wrote:

> Hi,
>
>
>
> Is there a way, I can browse messages lying on a mosquitto server
> topic, using java, without removing them(non-destructive read)?
>
>
>
> Any help/pointer to the correct APi will be of great help
>
>
>
> Regards,
>
> Rohit Dhall
>
> Enterprise Architect, Technology Office-TFG, HCL Technologies
>
> +91-9811181701
>
>
>
> [image: tfg]
>
>
> ::DISCLAIMER:: The contents of this e-mail and any attachment(s) are
> confidential and intended for the named recipient(s) only. E-mail
> transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive
> late or incomplete, or may contain viruses in transmission. The e mail
> and its contents (with or without referred errors) shall therefore not
> attach any liability on the originator or HCL or its affiliates. Views
> or opinions, if any, presented in this email are solely those of the
> author and may not necessarily reflect the views or opinions of HCL or
> its affiliates. Any form of reproduction, dissemination, copying,
> disclosure, modification, distribution and / or publication of this
> message without the prior written consent of authorized representative
> of HCL is strictly prohibited. If you have received this email in
> error please delete it and notify the sender immediately. Before
> opening any email and/or attachments, please check them for viruses and
other defects..
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://dev.eclipse.org/mailman/private/paho-dev/attachments/20160208/b4cadeae/attachment.html
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5006 bytes
Desc: not available
URL: <
https://dev.eclipse.org/mailman/private/paho-dev/attachments/20160208/b4cadeae/attachment.png
>

------------------------------

_______________________________________________
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

End of paho-dev Digest, Vol 50, Issue 13
****************************************


------------------------------

Message: 3
Date: Mon, 8 Feb 2016 13:28:13 +0000
From: Peter Niblett <peter_niblett@xxxxxxxxxx>
To: General development discussions for paho project
        <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] non-destructive read
Message-ID:
        <201602081328.u18DSMgk011009@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

Rohit

MQTT is based on a publish/subscribe concept, where each
subscriber/subscription has its own queue of pending messages. The only
way to access that queue via the MQTT protocol is to connect as that
subscriber, and which point the MQTT server will start trying to deliver
the messages to you.  If the messages in question also match other
subscriptions, they will also be being queued up for those other
subscribers, and the fact that they have been delivered to you doesn't
affect those other applications - the messages will still be there waiting
for them when they next connect.

There's one other feature - the Retained Message.    If someone publishes
a message as Retained, that message will be held on the server and any new
subscribers to its topic will receive a copy of that message. However this
isn't really a queue, since the server only holds the latest Retained
message for each topic.

Regards


Peter Niblett
IBM Senior Technical Staff Member



From:   Rohit Dhall <dhall.r@xxxxxxx>
To:     "paho-dev@xxxxxxxxxxx" <paho-dev@xxxxxxxxxxx>
Date:   08/02/2016 09:26
Subject:        Re: [paho-dev] non-destructive read
Sent by:        paho-dev-bounces@xxxxxxxxxxx



Hi Kamil,

>>>> What about creating a subscription for the relevant topic filter(s)
and QoS=0? Is that not any good?

This will cause the message to be delivered at most once. Not exactly what
I am looking for. I simply want to browse messages, without impacting
their delivery/consumption by any other application. If MQTT doesn't
support it directly, is there any other way around?


Regards,
Rohit Dhall
Enterprise Architect, Technology Office-TFG, HCL Technologies
+91-9811181701




-----Original Message-----
From: paho-dev-bounces@xxxxxxxxxxx [mailto:paho-dev-bounces@xxxxxxxxxxx]
On Behalf Of paho-dev-request@xxxxxxxxxxx
Sent: Monday, February 08, 2016 2:46 PM
To: paho-dev@xxxxxxxxxxx
Subject: paho-dev Digest, Vol 50, Issue 13

Send paho-dev mailing list submissions to
                 paho-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
                 https://dev.eclipse.org/mailman/listinfo/paho-dev
or, via email, send a message with subject or body 'help' to
                 paho-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
                 paho-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than
"Re: Contents of paho-dev digest..."


Today's Topics:

   1. Re: non-destructive read (Nicholas O'Leary)
   2. Re: non-destructive read (Kamil Baczkowicz)


----------------------------------------------------------------------

Message: 1
Date: Mon, 8 Feb 2016 08:47:58 +0000
From: "Nicholas O'Leary" <nick.oleary@xxxxxxxxx>
To: General development discussions for paho project
                 <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] non-destructive read
Message-ID:
 <CAF=vhqf9QNAx-B8+96CC7ZZw9C=Vaf=H7gqp9mPNVMCZqb=_Ow@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Hi,

no, the MQTT protocol does not support that type of operation.

Nick

On 8 February 2016 at 08:42, Rohit Dhall <dhall.r@xxxxxxx> wrote:

> Hi,
>
>
>
> Is there a way, I can browse messages lying on a mosquitto server
> topic, using java, without removing them(non-destructive read)?
>
>
>
> Any help/pointer to the correct APi will be of great help
>
>
>
> Regards,
>
> Rohit Dhall
>
> Enterprise Architect, Technology Office-TFG, HCL Technologies
>
> +91-9811181701
>
>
>
> [image: tfg]
>
>
> ::DISCLAIMER:: The contents of this e-mail and any attachment(s) are
> confidential and intended for the named recipient(s) only. E-mail
> transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive
> late or incomplete, or may contain viruses in transmission. The e mail
> and its contents (with or without referred errors) shall therefore not
> attach any liability on the originator or HCL or its affiliates. Views
> or opinions, if any, presented in this email are solely those of the
> author and may not necessarily reflect the views or opinions of HCL or
> its affiliates. Any form of reproduction, dissemination, copying,
> disclosure, modification, distribution and / or publication of this
> message without the prior written consent of authorized representative
> of HCL is strictly prohibited. If you have received this email in
> error please delete it and notify the sender immediately. Before
> opening any email and/or attachments, please check them for viruses and
other defects..
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://dev.eclipse.org/mailman/private/paho-dev/attachments/20160208/1d6bc9d7/attachment.html

>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5006 bytes
Desc: not available
URL: <
https://dev.eclipse.org/mailman/private/paho-dev/attachments/20160208/1d6bc9d7/attachment.png

>

------------------------------

Message: 2
Date: Mon, 8 Feb 2016 09:16:20 +0000
From: Kamil Baczkowicz <kamil.baczkowicz@xxxxxxxxx>
To: General development discussions for paho project
                 <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] non-destructive read
Message-ID:
 <CAHtMjFr928Do+uWSZoEqPq5UFrdd17ykoko+e1gwERrQ1emp-w@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Hi,

What about creating a subscription for the relevant topic filter(s) and
QoS=0? Is that not any good?

Kamil

On Mon, Feb 8, 2016 at 8:42 AM, Rohit Dhall <dhall.r@xxxxxxx> wrote:

> Hi,
>
>
>
> Is there a way, I can browse messages lying on a mosquitto server
> topic, using java, without removing them(non-destructive read)?
>
>
>
> Any help/pointer to the correct APi will be of great help
>
>
>
> Regards,
>
> Rohit Dhall
>
> Enterprise Architect, Technology Office-TFG, HCL Technologies
>
> +91-9811181701
>
>
>
> [image: tfg]
>
>
> ::DISCLAIMER:: The contents of this e-mail and any attachment(s) are
> confidential and intended for the named recipient(s) only. E-mail
> transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive
> late or incomplete, or may contain viruses in transmission. The e mail
> and its contents (with or without referred errors) shall therefore not
> attach any liability on the originator or HCL or its affiliates. Views
> or opinions, if any, presented in this email are solely those of the
> author and may not necessarily reflect the views or opinions of HCL or
> its affiliates. Any form of reproduction, dissemination, copying,
> disclosure, modification, distribution and / or publication of this
> message without the prior written consent of authorized representative
> of HCL is strictly prohibited. If you have received this email in
> error please delete it and notify the sender immediately. Before
> opening any email and/or attachments, please check them for viruses and
other defects..
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://dev.eclipse.org/mailman/private/paho-dev/attachments/20160208/b4cadeae/attachment.html

>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5006 bytes
Desc: not available
URL: <
https://dev.eclipse.org/mailman/private/paho-dev/attachments/20160208/b4cadeae/attachment.png

>

------------------------------

_______________________________________________
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

End of paho-dev Digest, Vol 50, Issue 13
****************************************
_______________________________________________
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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://dev.eclipse.org/mailman/private/paho-dev/attachments/20160208/0c7e23ed/attachment.html
>

------------------------------

_______________________________________________
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

End of paho-dev Digest, Vol 50, Issue 14
****************************************
_______________________________________________
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



Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/paho-dev/attachments/20160208/529fbb70/attachment.html>

------------------------------

_______________________________________________
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

End of paho-dev Digest, Vol 50, Issue 16
****************************************


Back to the top