integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java
public ConnectionFactory createJmsConnectionFactory() throws Exception {
    Hashtable<String, String> env = new Hashtable<>();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL, "t3://" + TestUtils.getHostName() + ":" + t3ChannelPort);
    LoggerHelper.getLocal().log(Level.INFO,
        "Creating JNDI context with URL " + env.get(Context.PROVIDER_URL));
    InitialContext ctx = new InitialContext(env);
    QueueConnection qcc = null;
    LoggerHelper.getLocal().log(Level.INFO, "Getting JMS Connection Factory");
    QueueConnectionFactory cf =
        (QueueConnectionFactory) ctx.lookup("weblogic.jms.ConnectionFactory");
    LoggerHelper.getLocal().log(Level.INFO, "Connection Factory created successfully");
    return cf;
  }
/**
   * Creates a Connection Factory using JMS.
   *
   * @return connection factory.
   * @throws Exception If failed to create the factory
   */
Creates a Connection Factory using JMS.
@return connection factory.
@throws Exception If failed to create the factory
Creates a Connection Factory using JMS . @return connection factory . @throws Exception If failed to create the factory
public ConnectionFactory createJmsConnectionFactory() throws Exception {
    Hashtable<String, String> env = new Hashtable<>();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL, "t3://" + TestUtils.getHostName() + ":" + t3ChannelPort);
    LoggerHelper.getLocal().log(Level.INFO,
        "Creating JNDI context with URL " + env.get(Context.PROVIDER_URL));
    InitialContext ctx = new InitialContext(env);
    QueueConnection qcc = null;
    LoggerHelper.getLocal().log(Level.INFO, "Getting JMS Connection Factory");
    QueueConnectionFactory cf =
        (QueueConnectionFactory) ctx.lookup("weblogic.jms.ConnectionFactory");
    LoggerHelper.getLocal().log(Level.INFO, "Connection Factory created successfully");
    return cf;
  }
public ConnectionFactory createJmsConnectionFactory ( ) throws Exception { Hashtable < String , String > env = new Hashtable < > ( ) ; env . put ( Context . INITIAL_CONTEXT_FACTORY , "weblogic.jndi.WLInitialContextFactory" ) ; env . put ( Context . PROVIDER_URL , "t3://" + TestUtils . getHostName ( ) + ":" + t3ChannelPort ) ; LoggerHelper . getLocal ( ) . log ( Level . INFO , "Creating JNDI context with URL " + env . get ( Context . PROVIDER_URL ) ) ; InitialContext ctx = new InitialContext ( env ) ; QueueConnection qcc = null ; LoggerHelper . getLocal ( ) . log ( Level . INFO , "Getting JMS Connection Factory" ) ; QueueConnectionFactory cf = ( QueueConnectionFactory ) ctx . lookup ( "weblogic.jms.ConnectionFactory" ) ; LoggerHelper . getLocal ( ) . log ( Level . INFO , "Connection Factory created successfully" ) ; return cf ; }
Creates a Connection Factory using JMS.
Creates a Connection Factory using JMS .