activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: How to get current consumer list when I send a message.
Date Thu, 23 May 2013 12:32:12 GMT
Not sure what you mean by "advisory topic for expired messages doesn't seem
to provide subscription info"... Were you expecting message to be expired
or go to DLQ? Did you check out ActiveMQ.Advisory.Consumer.Topic ?to see
when consumers come and go?


On Thu, May 23, 2013 at 12:53 AM, 허호영(Hoyeong Heo) <
hoyeong.ict@happyict.co.kr> wrote:

> Hello dear Christian,
>
> I checked some advisory topics and some BrokerFilter (interceptor plugin)
> methods.
> However, I found that advisory topic for expired message doesn't seem to
> provide any subscription info but message info (Producer)
> ,and messageExpired() method got just null (empty) subscription info
> parameter.
>
> Can I make them have subscription info by configurations?
> Can I make all clients remain as subscribers when they are disconnected?
>
> Otherwise, do I need to keep an eye on connection /disconnection info? so
> that I may find who requires of being notified by push service other then
> stomp/ActiveMQ. What if the information isn't synchronized well.
>
> Is there any other suggestions?
>
> Thanks.
> Hoyeong.
>
> -----Original Message-----
> From: Christian Posta [mailto:christian.posta@gmail.com]
> Sent: Monday, May 20, 2013 9:17 PM
> To: users@activemq.apache.org
> Subject: Re: How to get current consumer list when I send a message.
>
> You can start by taking a look at
> http://activemq.apache.org/advisory-message.html
> Advisory messages fire when interesting events happen in the broker, and
> listening to the topic for consumers might get you what you're looking for.
>
>
> On Sun, May 19, 2013 at 7:32 PM, 허호영(Hoyeong Heo) <
> hoyeong.ict@happyict.co.kr> wrote:
>
> > Hello All,
> >
> >
> >
> > I'm ActiveMQ and Stomp beginner.
> >
> > I want to send text messages to smart phone clients via ActiveMQ and
> STOMP.
> >
> >
> >
> > Is there any way to get notified when a durable consumer (client) is
> > not currently available for each message.
> >
> > so that I may notify disconnected smart phone clients that new
> > messages are arrived via Android or ios push service.
> >
> >
> >
> > Thanks in advance.
> >
> > Hoyeong.
> >
> >
>
>
> --
> *Christian Posta*
> http://www.christianposta.com/blog
> twitter: @christianposta
>
>


-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

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