Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] non-destructive read

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
****************************************


Back to the top