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

io.github.fallwizard.rabbitmq.mgmt.model.VirtualHost Maven / Gradle / Ivy

The newest version!
package io.github.fallwizard.rabbitmq.mgmt.model;

/**
 * Think of VHost's as "subdomains".  They are unique
 * topologies in which configuration and security are separated
 * from other topologies.  Exchanges cannot bind to queues or 
 * exchanges on another Vhost.  User permissions are also unique
 * to each vhost.
 * 
 * @author Richard Clayton (Berico Technologies)
 */
public class VirtualHost {

	protected String name;
	protected boolean tracing;
	
	public VirtualHost(){}
	
	public VirtualHost(String name, boolean tracing) {
		this.name = name;
		this.tracing = tracing;
	}

	public String getName() {
		return name;
	}
	
	public boolean isTracing() {
		return tracing;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public void setTracing(boolean tracing) {
		this.tracing = tracing;
	}

	@Override
	public String toString() {
		return "VirtualHost [name=" + name + ", tracing=" + tracing + "]";
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy