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

io.github.fallwizard.rabbitmq.ManifestLoaderExample Maven / Gradle / Ivy

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