
org.testcontainers.solace.Service Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of solace Show documentation
Show all versions of solace Show documentation
Isolated container management for Java code testing
The newest version!
package org.testcontainers.solace;
/**
* Services that are supported by Testcontainers implementation
*/
public enum Service {
AMQP("amqp", 5672, "amqp", false),
MQTT("mqtt", 1883, "tcp", false),
REST("rest", 9000, "http", false),
SMF("smf", 55555, "tcp", true),
SMF_SSL("smf", 55443, "tcps", true);
private final String name;
private final Integer port;
private final String protocol;
private final boolean supportSSL;
Service(String name, Integer port, String protocol, boolean supportSSL) {
this.name = name;
this.port = port;
this.protocol = protocol;
this.supportSSL = supportSSL;
}
/**
* @return Port assigned for the service
*/
public Integer getPort() {
return this.port;
}
/**
* @return Protocol of the service
*/
public String getProtocol() {
return this.protocol;
}
/**
* @return Name of the service
*/
public String getName() {
return this.name;
}
/**
* @return Is SSL for this service supported ?
*/
public boolean isSupportSSL() {
return this.supportSSL;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy