io.github.fallwizard.rabbitmq.ManifestLoaderExample 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;
import io.github.fallwizard.rabbitmq.loader.ManifestLoader;
/**
* @author Richard Clayton (Berico Technologies)
*/
public class ManifestLoaderExample {
public static void main(String[] args) throws Exception {
// We will load the manifest generated by ManifestExample into a local RabbitMQ broker.
// XML!
ManifestLoader.main(new String[]{ "manifests/manifest.xml" });
ManifestLoader.main(new String[]{ "manifests/manifest.xml", "--rollback" });
// JSON!
ManifestLoader.main(new String[]{ "manifests/manifest.json" });
ManifestLoader.main(new String[]{ "manifests/manifest.json", "--rollback" });
// YAML!
ManifestLoader.main(new String[]{ "manifests/manifest.yaml" });
ManifestLoader.main(new String[]{ "manifests/manifest.yaml", "--rollback" });
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy