What is the approach to handle multi messages waiting to be dequeued?

I am testing a case where there are more than one message in the queue and how does the listener plsql works in this scenario ?
Does this process handled in a FIFO basis or any method to process multiple messages one time?
(Eg: Multiple MDB's handling n number more of queues)
Or a DBMS_JOB to monitor the queue and process all in one call.?
What is the best approach you would take?

To understand better the order in which multiple messages can be dequeued, read the DEQUEUE procedure listed at http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_aq.htm#ARPLS401
in particular starting in the Usage Notes with "The dequeue order is determined by the values specified at the time the queue table is created unless overridden by the msgid and correlation ID in dequeue_options."
When you mention "how does the listener plsql work", I am assuming you mean an enqueue triggers a PL/SQL callback to a procedure you have defined. I can't find the note/article on this right now, but when the first message comes in, the PL/SQL procedure is triggered. If while it is still running, another item is queued, Oracle will see that the PL/SQL procedure is still running and not trigger the procedure again. The callback procedure will need to dequeue all messages while it is running in order to pick up any new messages that may have been enqueued after it was started by Oracle but before it ended.
DBMS_JOB does not monitor the queue. Several internal Oracle procedures do. EMON (Event Montior) and QMON (Queue Monitor) do most of the heavy work.
Hope that helps.

Similar Messages

  • I have install last update for i pod(ios5) but during installation there was one problem....i have restore my ipod and now i have lost all my buyed music!!Is not possible download it....?What are the details, including any error messages, related to your

    I have install last update for i pod(ios5) but during installation there was one problem....i have restore my ipod and now i have lost all my buyed music!!Is not possible download it....?What are the details, including any error messages, related to your question?

    Have you not got the music on your computer and/or on backups on, for example, external drives or CDs/DVDs ?

  • What is the cause of this error message?

    What is the cause of this error message?
    What is the solution to this problem ?
    Thanks

    First part of your question:
    Error Message
    %CFT_API-3-CFT_ERRMSG_NO_MEMORY: [chars] [chars] [dec]
    Explanation
    The system was unable to supply the requested memory for flow processing to continue
    Recommended Action
    Reduce other system activity to ease
    memory demands. If conditions warrant,
    upgrade to a larger memory configuration.
    link:
    www.cisco.com/c/en/us/td/docs/ios/system/messages/guide/sm_cn02.pdf
    Pretty generic, but its a start, the process in question is cft_flow_lookup.
    This may be an indication of a deeper resource issue.

  • Hi, I am oracle apps HRMS Technical consultant.I wanted to know ,can we implement Digital Signatures in Oracle apps 11i XML Reports.if yes what is the approach to do so ? Your quick response is appreciated. Regards , Aasma Sayyad.

    Hi,
    I am Oracle Apps HRMS Technical Consultant.
    I wanted to know,if we can implement Digital Signatures in XML Reports for Oracle Apps HRMS 11i Aplication.
    If yes,what is the approach to do so.
    Your quick response is appreciated.
    Regards,
    Aasma Sayyad.

    Hi Aasma,
    The standard BI Publisher is part of EBS applications.
    Most of the EBS reports(R12) are based on BI Publisher.
    If you check the responsibility 'XML Publisher Administrator' you will see all the templates used in the application.
    Your technical team should already know this.
    On the other hand OBIEE would need separate licences.
    But for you BI Publisher would do.
    Cheers,
    Vignesh

  • What are the ways to handle Idocs which are failed to post to R/3

    Hi Experts
    What are the ways to handle Idocs which are failed to post to R/3  after sucessfully configuration of the Scenario.
    Thanks & Regards
    Aravind

    Hi
    Check the Idoc Status in R/3 with WE05.
    Idocs will fail in following conditions
    1) Idoc will be in error if all the mandatory field are not mapped.
    2) If partner profile is not maintained.
    3) Most of the times, idocs will be in error due to functional issues.....check the status and take help from functional guys.
         Once the error resolved, reprocess the same idoc using BD87
    Regards
    Abhijit
    Edited by: Abhijit Bolakhe on Mar 18, 2010 3:11 PM

  • My icloud account was hacked. what can the hacker access? text messages? texts back ups?

    My icloud account was hacked. what can the hacker access? text messages? texts back ups?

    yahoo does not have strong security, they hacked my yahoo account first then they got to my icloud email. I have backed up my Iphone 4 using icloud storage under icloud option, still wondering how they can access my text though?

  • What is the difference between handling unit and packaging material

    hi
    what is the difference between handling unit and packaging material

    Hi,
    A handling unit is a physical unit that consists of the packaging materials (load carrier / packaging material) and the goods contained therein. A handling unit is always a combination of materials and packaging materials. All the information contained in the material items, such as batches and serial numbers, is always available by way of the handling units.
    Packaging materials are intended to enclose or hold together the materials that are to be packed. In other words, the material that is to be packed can be packed into or onto the packaging material. The packaging material can be a load carrier. The most important packaging materials include crates, boxes, containers, wire baskets, and pallets.
    Regards,
    Naveen

  • Can any guide me how to gather requirements and what r the approaches!

    HI
    Can any guide me how to gather requirements and what r the approaches and documents.
    Regards
    VSM

    Modeling approach:
    Top down - Try and find out what kind of reports the users need. Based o that you can determine your granularity of data.
    Have to find out what the sources are. Then decide if you have standard content or if you need to enhance or develop new objects.
    Try and see if standard reports are enough.
    If they ned aggregated data, decide on cubes. Then decide what all business areas the reports encompass. Based on that u can decide to build multiproviders or infosets depending on requirement.
    try to incorporate all the keyfigures  and characteristics in your data model.
    then decide how many layer ODS's you might need.
    then come up with a data model accordingly.

  • What is the character max on multi-select fields?

    For fields that are set up to use multi-select lists, and can have many values appended to the field, what is the maximum number of characters the field can hold? And, if a field hits the max, will we ever know?
    Thanks for any help.
    Beth

    Hi bmherr,
    Small Text fields have a maximum of 100 characters, whereas Large Text fields support up to 32,000 characters.  For multi-select list text fields, the limit is 1,000 characters.  For Data Cards (Custom Data Objects): 250 for Small Text fields and 32,000 for Large Text.
    No,it will not show any error and only First 1000 chars alone will get stored in eloqua!
    Thanks & Regards,
    P.Gowtham

  • What are the ways to check multi org is enabled?

    Hi,
    Can anyone tell me what are the methods to check whether multi org is enabled?
    -Senthil

    Hi,
    does multi-org mean multiple inventory organizations? or multiple hr organizations or multiple financials organizations?
    In our implementation we have single set of responsibilities in financials modules but multiple inventory organizations. They are using one set of responsibilities to purchase materials for multiple inventory organizations.
    In other implementation I worked on they are using few PO responsibilities to purchase materials for many inventory organizations?
    What is the relationship? how to map it?
    Thanks,

  • In a RT motion and data system, what is the best variable handling structure(s)?

    I built a system that applies motion control to two axes and also takes data from a third axis encoder. 
    The program structure is parallel timed loops (one motion control loop, one data collection loop, one host communication loop) with front panel.
    This is targeted to a RT target; there is no host program.
    Now I am using global variables to pass information between the loops and for exchanging information with the front panel indicators and controls.  I think this is a suboptimal solution.  I am considering the following changes:
    1) For communicating variable values (such as commanded velocity and position) to the motion loop, I will replace the global variable structures with onboard variables in the motion card memory.
    2) For saving the data collected from the third axis, I will use an RT-FIFO structure in the RT controller memory.
    3) I will eliminate the front panel from the RT program and create a separate user interface program targeted to the host PC.  Communication between these programs will be accomplished using the Simple TCP/IP Messaging Protocol as described in this document:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/0986799C984500F886256F170079411E
    Global variables will be replaced with Motion onboard variables.
    Before I start this chore, am I following the best practice?  Any advice on improving any aspect of this plan?
    My System:
    Windows XP on P4 PC ethernet to
    PXI-8187 RT Controller
    PXI-7350 Motion Control board
    (2) servo axes with quadrature feedback
    (1) additional quadrature encoder used as measuring probe
    I do not have a DAQ card in this system.
    Thank you!
    Laine

    Thanks Kristi.  I understand your recommendation.
    Some of my variable instances are 4 or 5 SubVIs deep.  For instance, the main high priority loop calls MOVE.vi which calls CALC_ANGLE.vi, which calls CALC_MOVETIME.vi which calls CALC_VELOCITY.vi which uses the variable Initial_velocity.  If Initial_velocity is received from the host in the main program, passed to the high-priority loop using an RTFIFO, then bundled and kept in a shift register, what is the best way to get that information down where I need it?
    Not only will I have to redeclare the RT-FIFO in each subVI, but I will also need to pass the reference value cluster down the chain as well?  This sounds messy and computationally expensive to me.  So my choices might be
    1) Eliminate subVIs and bring everything to the top.  This is a rather large program, so could make quite an extensive top vi if all code is in one place.
    2) Use onboard variables to store and pass values.  Are these less deterministic than RTFIFOs?  What is their primary purpose if not to pass data, or are they just to be used with motion card onboard programming?
    3) Use global variables, but I think these are not deterministic.
    4) Bite the bullet and pass the variable cluster down through the SubVI chain.  Is there an easier way to do this than what I describe above?
    Have I made any bad assumptions or overcomplications?
    Thanks.
    Laine

  • What's the meaning of this error message?

    I regularly receive from different AEBS the following error
    message:
    | Sep 16 11:33:06 15a6.net.pasteur.fr 15a6-net-pasteur-fr dot11: Deauthenticated with station 00:11:24:2d:39:a6 (received invalid class-3 frame).
    What is the cause of this error?
    What is an invalid class-3 frame?
    dan

    Hello,
    If you found that in your Airport Express log, then seems that can be caused (at least one option is:) streaming iTunes music through the AE.
    Solution: Deactivate DHCP on the Express via the Aiport Management Utility, and fix it's IP and DNS settings to something coherent with your network. Save the settings to the Express, it reboots and your are done.
    (If you continue monitoring the logs, the "Deauthenticated..." message above keeps on happening, but the Express now recovers fast enough so that iTunes never notices)
    So just avoid DHCP if that is your scenario and all will come back normality.
    Please let me know if all is OK after this.

  • Under profiles, what is the difference between level 1 message, message(em​ail address)..​.

    Just got the blackberry pearl 8100 and not sure what all the choices under profiles are. Listed are: level 1 messages, messages(my email address), messenger - alert, and messenger  - new. What are they, and what are they used for? It appears the only  function  that I have used is the messages (my email address).

    Level one messages are high priority messages. By default PIN messages are Level 1. You can add filters to email to make them come in as level 1 messages.

  • What is the Technical Reason for Creating Message Type

    Hi,
          Is there any particular reason to use Message Type. Already we are defining Data Type. Please give me some detailed explanations.
    Thanks in Advance.
    Thanks & Regards,
    Giridhar.C

    Hi Giri,
    SAP telling below reason why we are creating message type
    "A message type comprises a data type that describes the structure of a message. For technical reasons, a data type alone is not sufficient to describe the instance of a message: Data types are defined in XML Schema as abstract types that are not yet tied to an element. You can only describe an instance of a message when you have specified a data type as an element type. Therefore, a message type defines the root element of a message"
    Regards,
    Raj

  • What is the cost for a multi user agreement for CS3

    Purchased CS3 for Mac from eBay, seems I can install it on 2 computers. What is the cost involved if I wanted to add another?

    What is the cost involved if I wanted to add another?
    There is no such thing. Another user simply means another full license. It's irrelevant, though. As Steve already said, CS3 is now 5 versions behind and other than used copies cannot be bought officially from Adobe or their resellers.
    Mylenium

Maybe you are looking for

  • Get Job_Id after Scheduling BI Publisher Report

    Hi We are running the BI Publisher reports from Unix shell scripts. Please find below one sample code of the shell script ## Start Script wsdl_url="......." job_name="TEST" user_id="TST" pwd="TST1" java Scheduler $1 $2 $wsdl_url $job_name $user_id $p

  • Second display show non-Keynote application windows?

    I use Citrix' GoToWebinar and would like to use Keynote to give presentations with a two-display setup. Citrix' GoToMeeting application (which is what you use to give a webinar) shows useful information such as who is online viewing, and it enables y

  • Do this device have Wifi connectivity ? Insignia - Blu-ray Disc Player: NS-WBRDVD

    http://www.bestbuy.com/site/Insignia&%23174%3B+-+Blu-ray+Disc+Player+with+Wi-Fi+and+1080p+Output/938... "Built-in Wi-Fi support  For future streaming and product updates." What does this mean "future streaming" -- does this mean it's does currently w

  • HR report Category - only time period selection

    Hi experts, Do you know what is the name of HR report category which allow only time period selection? Thanks!

  • [Flash MX 2004] desactivar marco

    Alguien sabe como se puede desactivar el cuadro que sale alrededor de las acciones en flash de una p�gina. Es algo que he visto en el Internet Explorer 6 y seguramente tenga que ver con algun ActiveX. No es nada grave, pero resulta molesto tener que