All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fabric3.binding.activemq.provider.BrokerHelperImpl Maven / Gradle / Ivy

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