Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> 9.2 AQ trigger using JMS .... creating 2 rows in my AQ table!

9.2 AQ trigger using JMS .... creating 2 rows in my AQ table!

From: chris <od488gw02_at_sneakemail.com>
Date: 1 Dec 2004 12:22:12 -0800
Message-ID: <c452700a.0412011222.7ca0f53@posting.google.com>


Hello.

I have a trigger that's creating two rows in my AQ table, when I believe it should only be one.

Here's a part of it:

CREATE OR REPLACE trigger order_queue
AFTER UPDATE
OF status_id
ON my_order
FOR EACH ROW
WHEN (new.status_id = 8)
...
dbms_aq.enqueue(queue_name => 'jms_bytes_que',

                       enqueue_options => enqueue_options, 
                       message_properties => message_properties, 
                       payload => message, 
                       msgid => msgid);

The only difference in the 2 rows that get entered is the step_no field: one row = 0 and the other = 1.

Is it my lack of JMS understanding that's causing this? I believe step_no is part of the JMS requirement.

thanks.

c Received on Wed Dec 01 2004 - 14:22:12 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US