[aerogear-dev] onMessage() invoked in a loop?

Matthias Wessendorf matzew at apache.org
Tue Mar 22 16:09:48 EDT 2016


On Tue, Mar 22, 2016 at 8:59 PM, Lukas Fryc <lfryc at redhat.com> wrote:

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

yeah, I was expecting it's in a loop for a reason - but that loop never
ends. It stays even after a number of Wildfly reboots. That's what made we
wonder :)




>
>
> 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
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20160322/f79be9e2/attachment.html 


More information about the aerogear-dev mailing list