activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Is there a way to be notified when a durable subscriber receives a MQTT message?
Date Tue, 05 Apr 2016 11:15:40 GMT
If advisories aren't an option, you could implement this manual by using
JMX or the Jolokia web interface to monitor the delivered count and notify
your listener when it increases.  But it'll be a bit crude and more work
than simply using advisories, so only do it if you truly can't use
advisories.

Tim
On Apr 4, 2016 3:10 PM, "Shobhana" <shobhana@quickride.in> wrote:

> Thats great! I’ll give it a try. Many thanks Christopher
>
>
> > On 05-Apr-2016, at 2:58 AM, christopher.l.shannon [via ActiveMQ] <
> ml-node+s2283324n4710346h64@n4.nabble.com> wrote:
> >
> > Advisory messages are not persisted so you should not have any issues
> with
> > KahaDB by using them.
> >
> > On Mon, Apr 4, 2016 at 5:01 PM, Shobhana <[hidden email]
> <x-msg://26/user/SendEmail.jtp?type=node&node=4710346&i=0>> wrote:
> >
> > > If you can enable advisories, you can use the solution suggested above
> by
> > > Tim.
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> http://activemq.2283324.n4.nabble.com/Is-there-a-way-to-be-notified-when-a-durable-subscriber-receives-a-MQTT-message-tp4710173p4710345.html
> <
> http://activemq.2283324.n4.nabble.com/Is-there-a-way-to-be-notified-when-a-durable-subscriber-receives-a-MQTT-message-tp4710173p4710345.html
> >
> > > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> > >
> >
> >
> > If you reply to this email, your message will be added to the discussion
> below:
> >
> http://activemq.2283324.n4.nabble.com/Is-there-a-way-to-be-notified-when-a-durable-subscriber-receives-a-MQTT-message-tp4710173p4710346.html
> <
> http://activemq.2283324.n4.nabble.com/Is-there-a-way-to-be-notified-when-a-durable-subscriber-receives-a-MQTT-message-tp4710173p4710346.html
> >
> > To unsubscribe from Is there a way to be notified when a durable
> subscriber receives a MQTT message?, click here <
> http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4710173&code=c2hvYmhhbmFAcXVpY2tyaWRlLmlufDQ3MTAxNzN8MTUyNjM2MjU2Mg==
> >.
> > NAML <
> http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Is-there-a-way-to-be-notified-when-a-durable-subscriber-receives-a-MQTT-message-tp4710173p4710347.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message