diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/sca/modules/binding-sca-jms/src/main/java/org/apache/tuscany/sca/binding/sca/jms/JMSBroker.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/sca/modules/binding-sca-jms/src/main/java/org/apache/tuscany/sca/binding/sca/jms/JMSBroker.java b/java/sca/modules/binding-sca-jms/src/main/java/org/apache/tuscany/sca/binding/sca/jms/JMSBroker.java index b4142a65ca..6c13b550ba 100644 --- a/java/sca/modules/binding-sca-jms/src/main/java/org/apache/tuscany/sca/binding/sca/jms/JMSBroker.java +++ b/java/sca/modules/binding-sca-jms/src/main/java/org/apache/tuscany/sca/binding/sca/jms/JMSBroker.java @@ -32,6 +32,9 @@ import org.apache.tuscany.sca.core.ModuleActivator; */
public class JMSBroker implements ModuleActivator {
+ // this is static so that there is only one broker per JVM
+ // if that wasn't the case then to use the vm: transport each broker
+ // would need a unique name and clients would need to know the name
private static BrokerService broker;
public void start(ExtensionPointRegistry arg0) {
|