Examples of AQQueueProperty


Examples of oracle.AQ.AQQueueProperty

        createQueue(session, schema, name, payloadType, multiconsumer);
    }

    public static void createQueue(AQjmsSession session, String schema, String name, String payloadType, boolean multiconsumer) throws AQException, JMSException {
          AQQueueTable table = session.createQueueTable (schema, "queue_" + name, new AQQueueTableProperty(payloadType));
          AQQueueProperty prop = new AQQueueProperty();
          // TODO The setMultiConsumer() is not yet available in this version of the
          // aqapi.jar library.
          //if (multiconsumer) prop.setMultiConsumer(true);

          AQQueue queue = table.createQueue (name, prop);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.