Package com.ibm.mqe

Examples of com.ibm.mqe.MQeFields


    public MQeQueueManager startQueueManager() throws Exception {
        logger.debug("Starting the queue manager.");

        // Create all the configuration information needed to construct the
        // queue manager in memory.
        MQeFields config = new MQeFields();

        // Construct the queue manager section parameters.
        MQeFields queueManagerSection = new MQeFields();

        queueManagerSection.putAscii(MQeQueueManager.Name, queueManagerName);
        config.putFields(MQeQueueManager.QueueManager, queueManagerSection);

        // Construct the registry section parameters.
        // In this examples, we use a public registry.
        MQeFields registrySection = new MQeFields();

        registrySection.putAscii(
            MQeRegistry.Adapter,
            "com.ibm.mqe.adapters.MQeDiskFieldsAdapter");
        registrySection.putAscii(
            MQeRegistry.DirName,
            baseDirectoryName + queueManagerName + "/Registry");

        config.putFields("Registry", registrySection);
View Full Code Here

TOP

Related Classes of com.ibm.mqe.MQeFields

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.