Hi,
I am facing a problem during event bus push mechanism. I am able to push
my event through EventBus but my @subscribe method not receiving the same. I
am using wicket version 6.3.0
My web.xml is
<servlet>
<servlet-name>wicket.ssp</servlet-name>
<servlet-class>org.atmosphere.cpr.AtmosphereServlet</servlet-class>
<init-param>
<param-name>applicationClassName</param-name>
<param-value>Some classes</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>configuration</param-name>
<param-value>deployment</param-value>
</init-param>
<init-param>
<param-name>org.atmosphere.useWebSocket</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>org.atmosphere.useNative</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>org.atmosphere.cpr.sessionSupport</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>filterMappingUrlPattern</param-name>
<param-value>/ssp/*</param-value>
</init-param>
<init-param>
<param-name>org.atmosphere.cpr.broadcastFilterClasses</param-name>
<param-value>org.atmosphere.client.TrackMessageSizeFilter</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>
During initialization of my application class I have registered my Event Bus
with following code:
EventBus eventbus = new EventBus(this);
To push I have written below line:
EventBus.get(application).post(stringMessage);
application is the this(Used during initialization) object which I stored
for future reference.
@Subscribe
public void updateStatus(AjaxRequestTarget target, String confId) {
}
Here, I have done the push but not receiving any notification in subscribe.
Can anyone help
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/EventBus-push-not-pushing-data-to-subscribe-method-tp4660183.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]