Event queue problem

asked 2014-12-16 10:26:42 +0800

nicolasgar gravatar image nicolasgar

updated 2014-12-16 10:29:17 +0800

Hi everybody I noticed that an event listener registered to a static event queue doesn't listen any event when users navigate between pages.

the situation is: Model.java

public class Model{

//event queue declaration

public void init() {
   eventQueue.lookup("GlobalEvents",EventQueues.APPLICATION, true);
   eventQueue.subscribe(new EventListener(){

    public void onEvent(Event firedEvent) throws Exception {
               ...do something


//when a user log in -> Model.init();

1) UserA fire an event 2) UserB navigate between pages 3) during the transition UserB doesn't receive any event fired by UserA

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2014-12-16 10:26:42 +0800

Seen: 9 times

Last updated: Dec 16 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More