Skip to content

Commit

Permalink
First drop for #703: detect the broadcaster
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Jun 6, 2013
1 parent 22c792e commit ceb3fdc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
import static org.atmosphere.cpr.FrameworkConfig.JERSEY_CONTAINER;
import static org.atmosphere.cpr.FrameworkConfig.JGROUPS_BROADCASTER;
import static org.atmosphere.cpr.FrameworkConfig.RMI_BROADCASTER;
import static org.atmosphere.cpr.FrameworkConfig.RABBITMQ_BROADCASTER;
import static org.atmosphere.cpr.FrameworkConfig.JMS_BROADCASTER;
import static org.atmosphere.cpr.FrameworkConfig.REDIS_BROADCASTER;
import static org.atmosphere.cpr.FrameworkConfig.XMPP_BROADCASTER;
Expand Down Expand Up @@ -261,6 +262,7 @@ private void populateBroadcasterType() {
broadcasterTypes.add(JGROUPS_BROADCASTER);
broadcasterTypes.add(JMS_BROADCASTER);
broadcasterTypes.add(RMI_BROADCASTER);
broadcasterTypes.add(RABBITMQ_BROADCASTER);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ public interface FrameworkConfig {
* The default RMI Broadcaster class
*/
String RMI_BROADCASTER = "org.atmosphere.plugin.rmi.RMIBroadcaster";
/**
* The default RabbitMQ Broadcaster class
*/
String RABBITMQ_BROADCASTER = "org.atmosphere.plugin.rabbitmq.RabbitMQBroadcaster";
/**
* The default XMPP Broadcaster class
*/
Expand Down

0 comments on commit ceb3fdc

Please sign in to comment.