org.fabric3.binding.activemq.provider.BrokerHelperImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fabric3-activemq Show documentation
Show all versions of fabric3-activemq Show documentation
Provides support for running an embedded ActiveMQ broker
The newest version!
package org.fabric3.binding.activemq.provider;
import org.oasisopen.sca.annotation.Reference;
import org.fabric3.host.runtime.HostInfo;
/**
*
*/
public class BrokerHelperImpl implements BrokerHelper {
private String defaultBrokerName;
public BrokerHelperImpl(@Reference HostInfo info) {
this.defaultBrokerName = "vm://" + info.getRuntimeName().replace(":", ".");
}
public String getDefaultBrokerName() {
return defaultBrokerName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy