Thanks for your help and support. I am using now wicket-atmosphere 0.4
snapshot and atmosphere 1.0.0 . 

I managed the reference of applicationclass in MyHazelcastBroadcaster class.
Both classes looks like this now:

class MyApplicationClass extends AuthenticatedWebApplication{

         .....
@Override
    protected void init() {      
        super.init();
        bc = (MyHazelCastBroadcaster)
BroadcasterFactory.getDefault().get(MY_EVENT);
        bc.setUp();
        *bc.setApplication(this);*   // setting the application in
MyHazelCastBroadcaster

        eventBus = new EventBus(this, bc);

         ............
                      }
}

and in MyHazelBroadcaster class I am publishing the event like this:

         EventBus.get(myapplication).post(message)  

Now it throws exception in EventBus class
on*application.getMetaData(EVENT_BUS_KEY)*  call, as it doesn't find any
metadata associated with this event bus :( 
Any help pease? Tack



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/HazelCast-and-Atmosphere-Integration-with-Wicket-6-tp4651891p4651939.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to