09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Propagation Questions<br />

Messaging Gateway Questions<br />

manner and either the MGW agent is not running or the agent is running but<br />

unable to perform all necessary clean up action at that time.<br />

The MGW agent tries to remove a DELETE_PENDING subscriber:<br />

1. Each time dbms_mgwadm.remove_subscriber is called and the agent is<br />

running.<br />

2. Each time the MGW agent is started and it finds a DELETE_PENDING<br />

subscriber.<br />

What is the maximum message size for AQ queues with RAW payload?<br />

For AQ queues with RAW payload, the MGW agent can propagate messages of<br />

32512 bytes or less. If the message size is larger than 32512 bytes, an error occurs<br />

when the agent attempts to enqueue or dequeue the message.<br />

Which instance of <strong>Oracle</strong> Real Application Clusters is used for the<br />

Messaging Gateway agent?<br />

The DBMS_MGWADM.STARTUP procedure submits a job queue job that starts the<br />

MGW agent external process when the job is executed. The instance and force can<br />

be used to control the job and instance affinity. By default the job is set up so that it<br />

can be run by any instance.<br />

How can I control when message propagation occurs?<br />

The MGW agent propagates messages when a propagation subscriber and schedule<br />

are configured for the same source queue, destination queue, and propagation type.<br />

You can control when propagation occurs by using dbms_mgwadm.enable_<br />

propagation_schedule and dbms_mgwadm.disable_propagation_<br />

schedule. By default, the propagation schedule is enabled when it is first created.<br />

To create a propagation job that is initially disabled, call the following APIs in the<br />

indicated order:<br />

1. dbms_mgwadm.schedule_propagation<br />

2. dbms_mgwadm.disable_propagation_schedule<br />

3. dbms_mgwadm.add_subscriber<br />

In release 9.2, the propagation schedule window parameters are not used.<br />

Frequently Asked Questions 6-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!