Oracle9i Supplied PL/SQL Packages and Types Reference Release 2 (9.2) Part Number A96612-01 |
|
DBMS_MGWADM, 2 of 6
This type specifies a named property. MGW_PROPERTY
is used to specify optional properties for messaging links and foreign queues.
TYPE SYS.MGW_PROPERTY IS OBJECT( name VARCHAR2(100), value VARCHAR2(1000));
Attribute | Description |
---|---|
|
Property name |
|
Property value |
This method constructs a new MGW_PROPERTY
instance. All attributes are assigned a value of NULL.
STATIC FUNCTION CONSTRUCT RETURN SYS.MGW_PROPERTY;
This method constructs a new MGW_PROPERTY
instance initialized using the given parameters.
STATIC FUNCTION CONSTRUCT( p_name IN VARCHAR2, p_value IN VARCHAR2) RETURN SYS.MGW_PROPERTY;
Parameter | Description |
---|---|
|
Property name |
|
Property value |
This type specifies an array of properties.
TYPE SYS.MGW_PROPERTIES AS VARRAY (100) OF SYS.MGW_PROPERTY;
Unless noted otherwise, Messaging Gateway uses named properties as follows:
'MGWPROP$_'
prefix are reserved. They are used for special purposes and are invalid when used as a normal property name.The alter list is processed in order, from the first element to the last element. Thus the order in which the elements appear in the alter list is meaningful, especially when the alter list is used to remove properties from an existing list.
The property name and value are used to determine how that element affects the original list. The following rules apply:
If a property of the given name already exists, the current value is replaced with the new value; otherwise the new property is added to the end of the list.
MGW_PROPERTY.NAME = 'MGWPROP$_REMOVE' MGW_PROPERTY.VALUE = <name of property to remove>
No action is taken if the property name does not exist in the original list.
The DBMS_MGWADM
package defines constants to represent the reserved property names. Refer to the MGWPROP_< >
constants.
This type specifies basic properties for an MQSeries messaging system link.
TYPE SYS.MGW_MQSERIES_PROPERTIES IS OBJECT ( queue_manager VARCHAR2(64), hostname VARCHAR2(64), port INTEGER, channel VARCHAR2(64), interface_type INTEGER, max_connections INTEGER, username VARCHAR2(64), password VARCHAR2(64), inbound_log_queue VARCHAR2(64), outbound_log_queue VARCHAR2(64));
This method constructs a new MGW_MQSERIES_PROPERTIES
instance. All attributes are assigned a value of NULL.
STATIC FUNCTION CONSTRUCT RETURN SYS.MGW_MQSERIES_PROPERTIES ;
This method constructs a new MGW_MQSERIES_PROPERTIES
instance for altering the properties of an existing messaging link. All attributes having a VARCHAR2
data type are assigned a value of DBMS_MGWADM.NO_CHANGE.
Attributes of other data types are assigned a value of NULL.
STATIC FUNCTION ALTER_CONSTRUCT RETURN SYS.MGW_MQSERIES_PROPERTIES ;
|
Copyright © 2000, 2002 Oracle Corporation. All Rights Reserved. |
|