/** * GoldenGate API * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. * OpenAPI spec version: 20200407 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * Represents the metadata of a Java Message Service Connection. * */ export interface JavaMessageServiceConnection extends model.Connection { /** * The Java Message Service technology type. * */ "technologyType": JavaMessageServiceConnection.TechnologyType; /** * If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. * */ "shouldUseJndi": boolean; /** * The Connection Factory can be looked up using this name. * e.g.: 'ConnectionFactory' * */ "jndiConnectionFactory"?: string; /** * The URL that Java Message Service will use to contact the JNDI provider. * e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000' * */ "jndiProviderUrl"?: string; /** * The implementation of javax.naming.spi.InitialContextFactory interface * that the client uses to obtain initial naming context. * e.g.: 'org.apache.activemq.jndi.ActiveMQInitialContextFactory' * */ "jndiInitialContextFactory"?: string; /** * Specifies the identity of the principal (user) to be authenticated. * e.g.: 'admin2' * */ "jndiSecurityPrincipal"?: string; /** * Connection URL of the Java Message Service, specifying the protocol, host, and port. * e.g.: 'mq://myjms.host.domain:7676' * */ "connectionUrl"?: string; /** * The of Java class implementing javax.jms.ConnectionFactory interface * supplied by the Java Message Service provider. * e.g.: 'com.stc.jmsjca.core.JConnectionFactoryXA' * */ "connectionFactory"?: string; /** * Security protocol for Java Message Service. If not provided, default is PLAIN. * Optional until 2024-06-27, in the release after it will be made required. * */ "securityProtocol"?: JavaMessageServiceConnection.SecurityProtocol; /** * Authentication type for Java Message Service. If not provided, default is NONE. * Optional until 2024-06-27, in the release after it will be made required. * */ "authenticationType"?: JavaMessageServiceConnection.AuthenticationType; /** * The username Oracle GoldenGate uses to connect to the Java Message Service. * This username must already exist and be available by the Java Message Service to be connected to. * */ "username"?: string; /** * This property is not available when creating connections. For existing deprecated connections having this value set, the value cannot be updated; set it to empty. *

For deprecated connections created with this field in the past, either the private IP had to be specified in the connectionString or host field, or the host name had to be resolvable in the target VCN. * */ "privateIp"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the security credentials are stored associated to the principal. * Note: When provided, 'jndiSecurityCredentials' field must not be provided. * */ "jndiSecurityCredentialsSecretId"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored, * that Oracle GoldenGate uses to connect the associated Java Message Service. * Note: When provided, 'password' field must not be provided. * */ "passwordSecretId"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the TrustStore file is stored. * Note: When provided, 'trustStore' field must not be provided. * */ "trustStoreSecretId"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the TrustStore password is stored. * Note: When provided, 'trustStorePassword' field must not be provided. * */ "trustStorePasswordSecretId"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the content of the KeyStore file is stored. * Note: When provided, 'keyStore' field must not be provided. * */ "keyStoreSecretId"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the KeyStore password is stored. * Note: When provided, 'keyStorePassword' field must not be provided. * */ "keyStorePasswordSecretId"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored for the cert inside of the Keystore. * In case it differs from the KeyStore password, it should be provided. * Note: When provided, 'sslKeyPassword' field must not be provided. * */ "sslKeyPasswordSecretId"?: string; "connectionType": string; } export declare namespace JavaMessageServiceConnection { enum TechnologyType { OracleWeblogicJms = "ORACLE_WEBLOGIC_JMS", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum SecurityProtocol { Plain = "PLAIN", Tls = "TLS", Mtls = "MTLS", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum AuthenticationType { None = "NONE", Basic = "BASIC", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: JavaMessageServiceConnection, isParentJsonObj?: boolean): object; const connectionType = "JAVA_MESSAGE_SERVICE"; function getDeserializedJsonObj(obj: JavaMessageServiceConnection, isParentJsonObj?: boolean): object; }