Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
jvx:communication:push_publish [2019/03/14 13:07]
admin
jvx:communication:push_publish [2019/03/14 13:08]
admin
Line 35: Line 35:
 SessionContext.getCurrentInstance().getCallBackBroker().publish("​COUNT_ADD",​ Integer.valueOf(1));​ SessionContext.getCurrentInstance().getCallBackBroker().publish("​COUNT_ADD",​ Integer.valueOf(1));​
 </​code>​ </​code>​
-on the server-side. But be careful if you run in a Thread, because the broker won't be available outside the server execution thread. So, use a cached instance of the broker, e.g.:+on the server-side. ​ 
 + 
 +**But be careful** if you run in a Thread, because the broker won't be available outside the server execution thread. So, use a cached instance of the broker, e.g.:
  
 <code java> <code java>
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information