Multiple JMS consumer cosuming same message from Oracle AQ

I have an Oracle AQ (definition below)

BEGIN
        dbms_aqadm.create_queue_table(queue_table => 'MY_QUEUE',multiple_consumers => FALSE,queue_payload_type => 'MY_OBJECT');
        dbms_aqadm.create_queue(queue_name  => 'MY_QUEUE',queue_table => 'MY_QUEUE');
        dbms_aqadm.start_queue(queue_name => 'MY_QUEUE');
END;

Also, I have two different Java processes listening to this queue. I observed sometime same message get consumed by both the Java process despite my queue is created with multiple_consumers=false property. Also my JMS consumers in each process are working in CLIENT_ACKNOWLEDGE mode.

Is there any bug in oracle AQ ? or am I missing something?

链接地址: http://www.djcxy.com/p/76422.html

上一篇: JMS无法使用oracle队列中的消息

下一篇: 多个JMS使用者从Oracle AQ获取相同的消息