
io.github.fallwizard.rabbitmq.mgmt.NodeOperations Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rabbitmq-mgmt Show documentation
Show all versions of rabbitmq-mgmt Show documentation
Manage your RabbitMQ services programmatically
The newest version!
package io.github.fallwizard.rabbitmq.mgmt;
import java.util.Collection;
import com.google.common.base.Optional;
import io.github.fallwizard.rabbitmq.mgmt.model.Node;
public class NodeOperations extends BaseFluent {
public NodeOperations(HttpContext httpContext, RabbitMgmtService mgmtService) {
super(httpContext, mgmtService);
}
public Collection all(){
return HTTP.GET("/nodes", NODE_COLLECTION).get();
}
public Optional get(String name){
return HTTP.GET(String.format("/nodes/%s", name), NODE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy