Quantcast

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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Matthias Wessendorf
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Lukas Fryc-2
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 <[hidden email]> wrote:

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Lukáš Fryč
Software Engineer
Red Hat Mobile | AeroGear.org, FeedHenry.org

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Matthias Wessendorf


On Tue, Mar 22, 2016 at 8:59 PM, Lukas Fryc <[hidden email]> 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 <[hidden email]> wrote:
_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Lukáš Fryč
Software Engineer
Red Hat Mobile | AeroGear.org, FeedHenry.org

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev
Loading...