Skip to content

Commit

Permalink
Fix for #149 JMSBroadcaster JMS Session is null, every time
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Jan 18, 2012
1 parent a24411e commit 53ed6f9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ public class JMSBroadcaster extends AbstractBroadcasterProxy {

public JMSBroadcaster(String id, AtmosphereServlet.AtmosphereConfig config) {
super(id, null, config);
setUp();
}

public synchronized void configure(AtmosphereServlet.AtmosphereConfig config) {
private synchronized void setUp() {
try {
// For backward compatibility.
if (config.getInitParameter(JMS_TOPIC) != null) {
Expand Down

0 comments on commit 53ed6f9

Please sign in to comment.