I have a Java application, which uses an Oracle Queue to store messages in the queue for later processing by multiple threads consuming queued messages. The messages in this queue can be related to each other, and must therefore be processed in a specific order based on the business logic of my application. Basically, I want to achieve that the dequeueing of one message A is held back as long as another message B in the queue has not been completely processed. The only weapon given by Oracle AQ I see here, are the Delay and an Priority parameters. These, however, cannot be used to achieve the scenario outlined above, since there are situations, where two related messages still can be dequeued and processed at the same time. Are there any tools that can help establishing an advanced processing order of messages?
Advanced Oracle AQ Dequeue Order
539 Views Asked by AlexLiesenfeld At
1
There are 1 best solutions below
Related Questions in MULTITHREADING
- new thread blocks main thread
- WPF MessageBox Cancel checkbox check
- How to avoid concurrent access to a resource?
- run oncomplete event in async
- Threading Segfault when reading members
- Function timeouts in C and thread
- How are multiple requests to Task.Run handled from a resource management standpoint?
- Acumatica perfomance with threads
- Wait and Notify in Java threads for a given interval
- Different behavior of async with Visual Studio 2013(Windows8.1) and GCC 4.9(Ubuntu14.10)
- How to return blocking queue to the right object?
- background thread using Task.Run
- deletion and cleanup of worker thread in Qt crashes
- Pipeline-like operation using TChan
- implementing in app purchase on android
Related Questions in ORACLE
- Column displays each count
- MAX and GROUP BY - SQL
- Best Practice for adding columns to a Table in Oracle database
- Updating an Oracle row with value from same row
- Retrieving data from Oracle database
- Ibatis execute update sql on oracle, it is not working and no exceptions
- Building an sql execution plan history
- Implementation of Rank and Dense Rank in MySQL
- how to update the date field for this specific condition using oracle query?
- Oracle stored procedure wrapping compile error with inline comments
- Android: How to connect oracle database using Android Java code?
- SQL Conditional Join on Columns
- Multi value wildcard search in ibatis
- Get count of consecutive days meeting a given criteria
- How to update the metadata of a layer in Oracle imported through FME Workbench?
Related Questions in MESSAGE-QUEUE
- Message Queues: Per Message Guarantees
- mq_timedsend() returns error 14 "bad address"
- Posix message queues and the command line?
- Best way to ensure an event is eventually published to a message queuing sytem
- Azure Service Bus Queue grouped messages
- How to interrupt an xQueueReceive() API in FreeRTOS?
- Spring JMS - Unable to connect to broker URL with embedded Broker
- How to do error handling with EasyNetQ / RabbitMQ
- Setting message priority in RabbitMQ PHP
- Using a queuing system to do custom logic
- Storm-jms Spout collecting Avro messages and sending down stream?
- How many tcp connection created on a queuing protocol such as ZeroMQ
- RabbitMQ: How to send Dead Letter Exchange from Erlang client
- What happens to message in queue of 1 length which is not acked in rabbitmq?
- Can I view raw message in iron.io webpage?
Related Questions in PRIORITY-QUEUE
- Getting Run-Time Exception in implementation of Priority Queue in Java
- priority_queue with custom comparator as a class method
- How to get the minimum element from a priority queue after modifying the contents of queue
- Block(array) implementation of a priority queue?
- How to apply ordering to a Scala Priority Queue?
- How does Priority Queue in RabbitMQ works?
- How to implement a priority queue using the field of a class in java
- RabbitMQ not respecting job priority
- How to set fixed size to PriorityQueue in Java?
- Advanced Oracle AQ Dequeue Order
- Why Java's Priority Queue lacks a Change Priority method?
- How to connect Priority queue via MySQL without corrupt the priority ordering?
- Java util priorityQueue implementation
- Can we have a Priority Queue of an array of integers in java
- How to use queue.PriorityQueue as maxheap
Related Questions in ORACLE-AQ
- Advanced Oracle AQ Dequeue Order
- Cluster load-balancer for Oracle aq application
- Oracle AQ dependent jars
- How to enqueue a JMS message into Oracle AQ using Java
- JMS Text Message on Oracle AQ from Nodejs
- Oracle AQ competing consumer
- Can't enqueue large text messages onto Oracle AQ via JMS client - ORA-00942: table or view does not exist
- Oracle Advanced Queueing Experiences
- Large numbers of warnings generated by suspected JDBC driver issue using Oracle 19c
- ERROR when trying to configure Oracle AQ with WSO2 Micro Integrator
- Error in executing task: 'javax.jms.Session javax.jms.Connection.createSession(boolean, int)
- Spring JMS Oracle AQ - Specifying Dequeue Options
- How do I grant CLOB privileges to a foreign queue user in Oracle Advanced Queuing?
- Oracle AQ. Error ORA-25263: no message in queue when dequeue message
- Jms: Pub/Sub with mutiple consumers
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I came to the conclusion that it is not a good idea to order these messages using the queue, because it would need a custom and very specialized dequeue strategy, which has a very bad smell to me, both, complexity and most likely performance wise. It also tries to fix communication protocol issues using the queue, which are application specific and therefore should find treatment in the application itself. Instead, the application / communication protocol should be tolerant enough to handle ordering issues.