[aerogear-dev] onMessage() invoked in a loop?
Lukas Fryc
lfryc at redhat.com
Tue Mar 22 15:59:56 EDT 2016
Hey Matthias,
that is by design - until MetricCollector detects that all tokens were
loaded && all metrics were processed, it rolls back the event from the
TriggerMetricCollectionQueue.
It means that it is triggered "in loop" until push message processing
completely finishes.
But, if it never finishes completely, you are hitting a bug.
Cheers,
~ Lukas
On Tue, Mar 22, 2016 at 4:13 PM, Matthias Wessendorf <matzew at apache.org>
wrote:
> Hi,
>
> I noticed this is invoked in a loop (every second):
>
> https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/sender/src/main/java/org/jboss/aerogear/unifiedpush/message/jms/TriggerMetricCollectionConsumer.java#L54
>
> any ideas?
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
--
Lukáš Fryč
Software Engineer
Red Hat Mobile | AeroGear.org, FeedHenry.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20160322/6657b622/attachment.html
More information about the aerogear-dev
mailing list