PL/SQL Packages and Types Reference 10g Release 1 (10.1) Part Number B10802-01 |
|
|
View PDF |
The DBMS_AQELM
package provides procedures to manage the configuration of Oracle Streams Advanced Queuing (AQ) asynchronous notification by e-mail and HTTP.
See Also:
Oracle Streams Advanced Queuing User's Guide and Reference for detailed information about |
This chapter contains the following topic:
This procedure gets the host name set by DBMS_AQELM.SET_MAILHOST
for the SMTP server.
DBMS_AQELM.GET_MAILHOST ( mailhost OUT VARCHAR2);
Parameter | Description |
---|---|
|
SMTP server host name. |
This procedure gets the port number for the SMTP server set by the DBMS_AQELM. SET_MAILPORT
procedure or the default value, which is 25.
DBMS_AQELM.GET_MAILPORT ( mailport OUT NUMBER);
Parameter | Description |
---|---|
|
SMTP server port number. |
This procedure gets the proxy server name and no_proxy_domains
set by DBMS_AQELM.SET_PROXY
for HTTP notifications.
DBMS_AQELM.GET_PROXY ( proxy OUT VARCHAR2, no_proxy_domains OUT VARCHAR2);
Parameter | Description |
---|---|
|
Proxy server host and port number. |
|
List of no-proxy domains or hosts. |
This procedure gets the sent-from e-mail address set by DBMS_AQELM.SET_SENDFROM
procedure.
DBMS_AQELM.GET_SENDFROM ( sendfrom OUT VARCHAR2);
Parameter | Description |
---|---|
|
The sent-from e-mail address. |
This procedure sets the host name for the SMTP server. The database uses this SMTP server host name to send out e-mail notifications.
DBMS_AQELM.SET_MAILHOST ( mailhost IN VARCHAR2);
Parameter | Description |
---|---|
|
SMTP server host name. |
As part of the configuration for e-mail notifications, a user with AQ_ADMINISTRATOR_ROLE
or with EXECUTE
permissions on the DBMS_AQELM
package needs to set the host name before registering for e-mail notifications.
This procedure sets the port number for the SMTP server.
DBMS_AQELM.SET_MAILPORT ( mailport IN NUMBER);
Parameter | Description |
---|---|
|
SMTP server port number. |
As part of the configuration for e-mail notifications, a user with AQ_ADMINISTRATOR_ROLE
or with EXECUTE
permissions on DBMS_AQELM
package needs to set the port number before registering for e-mail notifications. The database uses this SMTP server port number to send out e-mail notifications. If not set, the SMTP mailport defaults to 25
This procedure sets the proxy server name to be used for requests of HTTP protocol, excluding requests for hosts that belong to the domain specified in no_proxy_domains
.
DBMS_AQELM.SET_PROXY ( proxy IN VARCHAR2, no_proxy_domains IN VARCHAR2 DEFAULT NULL);
The proxy server name can include an optional TCP/IP port number at which the proxy server listens. If the port is not specified for the proxy server, port 80 is assumed.
no_proxy_domains
is a list of domains or hosts for which HTTP requests should be sent directly to the destination HTTP server instead of going through a proxy server. Optionally, a port number can be specified for each domain or host. If the port number is specified, the no-proxy restriction is only applied to the request at that port of the particular domain or host. When no_proxy_domains
is NULL
and the proxy server is set, all requests go through the proxy server. When the proxy server is not set, http_send
sends the requests to the target Web servers directly.
As part of the configuration for HTTP notifications, a user with AQ_ADMINISTRATOR_ROLE
or with EXECUTE
permissions on the DBMS_AQELM
package can choose to set the proxy server name and a list of no_proxy_domains
, if required, before registering for HTTP notifications. The database will use this information to post HTTP notifications.
This procedure sets the sent-from e-mail address. This e-mail address is used in the sent-from field in all the e-mail notifications sent out by the database to the registered e-mail addresses.
DBMS_AQELM.SET_SENDFROM ( sendfrom IN VARCHAR2);
Parameter | Description |
---|---|
|
The sent-from e-mail address. |
As part of the configuration for e-mail notifications, a user with AQ_ADMINISTRATOR_ROLE
or with EXECUTE
permissions on the DBMS_AQELM
package should set the sent-from address before registering for e-mail notifications