In what order are msgs consumed with single sess & multiple async consumers

Sun MQ will serialize delivery of messages when you have a single session and multiple asynchronous consumers created from that session. I am trying to find out what is the order in which the messages will be delivered by the session to the message listener.
So if I have 10 consumers on 10 destinations, each with 100 messages, in what order will messages be passed to the message listener.
Thanks
Aspi Engineer
Putnam Investments

In our testing, we have found that the consumerFlowLimit implementation will guarantee that you'll receive your messages out of order. What happens is that messages will be put in the consumer buffer and they won't be available for round-robin delivery to the other consumers (even if they are idle). I'd recommend setting the consumerFlowLimit=1 which minimizes the impact of this, but every other message will still be out of order (ie consumer #1 grabs messages 1&2, consumer #2 grabs messages 3&4, etc; so that they will process 1&3 together, and 2&4 together. I consider this a very serious bug of openMQ and wish we could disable the consumerFlowBuffer all together to get guaranteed processing order from the queue.
Edited by: Pancetta on Jun 24, 2010 9:33 AM

Similar Messages

  • What order are find results in?

    When I use Spotlight and then select the "show in finder" option, what order
    are the results supposed to be in?  Alphabetical, you'd think, if "name" was
    selected.  But there seem to be many sublists in a large set of result, each
    restarting some sort of order every so many lines.  And why wouldn't clicking
    "name" again simply resort these?  It seems the only sort that affects the
    entire list in a predictable manner is sort by "type".  Have I inadvertently
    selected something wrong or am I missing something?  This makes spotlight
    much less useful to me.
    Anyone notice this?
    Mark

    Hi Ves,
      The AFCS dev guide mentions this in passing (3.1.5.1) but doesn't go into quite enough detail - we'll make a note to improve this for the next go-round.
      Essentially, all items for a given CollectionNode (from all of its nodes) are synched in the order that they were published, irrespective of which node they were published to. You can actually put a breakpoint down in MessageManager.receiveItems to watch this - all items for the entire collection are received in one big blob, then pushed onto an array, then sorted according to their timestamps and order, then sent as itemReceive up to the collectionNode.
      So yes, you could easily end up with an itemReceive for EVERYONE, followed by an itemReceive for HOSTS, then another one for EVERYONE. We make sure that they essentially come in the same order they did for people who were actually in the room at the time. For example in the chat pod, if I asked a question to the HOSTS node, which they answered on the public EVERYONE node, I'd want the items to be received in the right order, or the collective history wouldn't make sense.
    For separate CollectionNodes, their synchronization are kept separate (one at a time), since they're the result of individual subscribe() requests - the advice here is that if you have a series of items that have some dependency on order of arrival, you should make sure they're part of the same CollectionNode (which makes sense). If you need A to finish synching before B begins, put those items on different collectionNodes and call their subscribe() methods in that order. So, you can have it either way, depending on how you want to set it up.
    hope that helps
       nigel

  • Credit card Orders are getting blocked with credit check

    Hi All
    In our system, If customer's credit exposure is greater then 100 % then all the credit card orders are getting blocked with credit check even though it has valid authorization. Is this sap standard behaviour?....is there any setting that will always exclude credit card orders when it has valid authorization
    Thanks in advance for looking into this

    Hi,
    In OVA8- under document controlling- check the existing routinue 1 for orders etc., else modify as per your requirement
    Thanks
    Chidamabram

  • What applications are not compatible with Mac OS X 10.7 Lion?

    What applications are not compatible with Mac OS X 10.7 Lion?
    http://ow.ly/5Iz09
    This link covers many more apps. http://roaringapps.com/apps:table
     Cheers, Tom

    Lion upgrade questions and answers:  Apple Support Communities

  • What browser are you using with OS 9.x?

    Would you all please state which internet browser you are using with OS 9.x and the strengths/weaknesses you are experiencing with it?
    I switch back and forth between Mozilla and Internet Explorer but fewer and fewer websites work properly with them. If there is a better browser than those two I would add it to my old Wallstreet running 0S 9.1.
    Again, what browser are you using with OS 9.x and what are its good/bad points?
    Thanks!
    Message was edited by: Paul Stamser

    (Almost forgot
    I have an iCab filter set up for Yahoo on my OS 9.2.1 iMac.
    For the URL string I use (asterisk)yahoo(asterisk)
    For the Scripts filter I use the Netscape identity and have all versions checked except "JScript", and everything is checked in the "Allow" section.
    For the Network filter I use the Firefox identity and have the HTTP "referer" set to "Always".
    I don't use Yahoo Mail much on that machine, but those settings allow me to use the Address book to select addresses and send messages with attachments. (I'm not sure about viewing attachments, though, and I'm almost positive that address auto-complete doesn't work.)
    Cheers,
    K.S.
    (I use iCab 3.0.5)
    Message was edited by: K.S.

  • INSERTED Table - When it gets populated with single or multiple rows?

    Hi,
    I'm trying to create a trigger which then insert to a table. i'm wondering when does the INSERTED table gets populated with single or multiple rows?
    Should I always assume that the INSERTED Table will contains several rows? What does the scope of the INSERTED table in the trigger, isn't based on the user session?
     The reason why i asked this is because as far as i know inserted table may contain several table when the trigger fires which is why I use cursor to insert  records in the table ( there's a behind why i use cursor).
    But if the inserted table will only contain a single record during the session of the trigger then i can avoid the cursor.
    Thanks.

    But since we control the transaction process and we know for a fact that user will only be able to save a record one at a time, do we still expect multiple rows? I just want to have a clear concept on the INSERTED table.
    ...and then the DBA or someone else sees fit to enter a number of rows directly from a query window. And don't laugh. That is bound to happen sooner or later.
    However, just because this can (and will) happen does not mean that you need to handle it on equal footing with the normal case user entering data through the application. What you cannot permit yourself to is to drop the DBA case on the floor, that is write
    the trigger as if there would either be single-row inserts and produce incorrect results for multi-row inserts.
    But, yes, allowing yourself to use a cursor, if you want to reuse the existing stored procedure is feasible. That is also the more drastic solution suggested by Tom to add an explicit check that disallows multi-row inserts.
    Finally, permit me to comment on this:
    Additionally, it's  difficult to use the code below as i need to pass the identity id of tbl_A to tbl_B
    You can use the OUTPUT clause to capture the values, but that requires that you have something you can map the identity values to in the columns you insert, and this is not always the case. However, there is a lot simpler solution to the problem: don't
    use IDENTITY. IDENTITY is one of these over-used and over-abused features in SQL Server. You need it when you want to support high-concurrency inserts, because rolling your own requires a serialisation point. But with a moderate insertion frequency, IDENTITY
    only gives you headache.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • ARE-1 creation with reference to multiple excise invoice

    Dear All,
    Please tell me how to create ARE-1 document with reference to multiple excise invoices which are having same sold to party and ship to party.
    Regards,
    Sagar Wairagade

    Hi,
    In J1IA101 enter the first excise invoice in the releavnt field  and hit enter and once this excise invoice is updated in the tab,excise invoice summary enter the next excise invoice in the same field as before and hit enter.In this manner you can enter as long as the sold to party and Export type are the same.

  • In what order are results from gather_database_stats 'LIST AUTO' returned?

    11.2.0.1.0. The results from the following seem to have some order to them (groupings of objects returned alphabetically). Didn't see anywhere in the docs to indicate what's getting returned in what order (empty stats, stale stats). I looked at table stats for one at the top of the list and it looks like the table had stats gathered recently, so i'm confused. I ran this from sqlplus:
    set serveroutput on size unlimited;
    DECLARE
    ObjList dbms_stats.ObjectTab;
    BEGIN
    dbms_stats.gather_database_stats(objlist=>ObjList, options=>'LIST AUTO');
    FOR i in ObjList.FIRST..ObjList.LAST
    LOOP
    dbms_output.put_line(ObjList(i).ownname || '.' || ObjList(i).ObjName || ' ' || ObjList(i).ObjType || ' ' || ObjList(i).partname);
    END LOOP;
    END;
    /

    Enlightened answer: "So bug off and work with what you get"
    The report was run on a database that doesnt have any auto stat collection occurring. There are 4000 items returned in the list. One of the items looks ok when you look at dba_tables (row count correct and last_analyzed recent). Just trying to figure out why this table was included in the list. Might be the way stats collected for it isn't updating some mechanism that gather_database_stats is utilizing. From what I can tell the order is 1) tables with no stats, 2) indexes with no stats, 3) stale tables.

  • What LMS are you using with UPK?

    I have been using UPK for about 2 years. I have been tasked with finding an LMS for our organization. If you are using an LMS, please let me know what you are using, what you like and don't like about it.

    Hi
    We are using Janison - LMS Vs 7.01
    Its a bit clunky and visually not what you call cutting edge.
    We have over 2.5k users in 13 different institutes who are all tested on the LMS and we use SCORM 1.2 to score a 80% pass.
    No pass - no access.
    Wouldnt recommend Janison but it may have been our initial setup of the file structure that is causing a lot of our problems and lack or reporting options.
    Cheers
    J.

  • What tools are being used with WLS 5.1?

    I have been experimenting with WLS 5.1 and it is clear that there are many
    steps in developing, testing, and deploying EJBs. What tools are being
    used? How do IBM's Visual Age, JBuilder 4, and Visual Cafe EE stack up?
    Are there any tools for developing and debugging JSPs?
    Thanks,
    Mike

    Hi folks,
    about the "IBM VisualAge 3.02 (Integration Kit)" that Nirav mentions below...
    Does this integration kit work with Visual Age 3.5? If not, do you have any tool recommendations for VA3.5 users who are developing apps for WebLogic5.1?
    Thanks,
    Janet
    Nirav Chanchani <[email protected]> wrote:
    Mike,
    The level of integration between WLS and the tools is as follows (with
    VisualCafe being the most integrated) --
    1. VisualCafe Enterprise (or the WebGain Studio suite)
    http://www.webgain.com/Products/index.htm
    2. JBuilder 4 http://www.inprise.com/jbuilder/
    3. IBM VisualAge 3.02 (Integration Kit beta up on BEA website)
    http://commerce.beasys.com/downloads/weblogic_server.jsp#wlstools
    All the integration's support development, local debugging, and local
    deployment, but VisualCafe has wizards and like which generate code for the
    J2EE specs that WLS supports.
    I have read that JBuilder 4 supports JSP debugging but have not tried it yet.
    Nirav.
    Mike DiChiappari wrote:
    I have been experimenting with WLS 5.1 and it is clear that there are many
    steps in developing, testing, and deploying EJBs. What tools are being
    used? How do IBM's Visual Age, JBuilder 4, and Visual Cafe EE stack up?
    Are there any tools for developing and debugging JSPs?
    Thanks,
    Mike--
    Nirav Chanchani
    BEA Systems, Inc.

  • What camcorder are you using with FCE that's compatible

    I'd like to hear from folks so other folks know what's compatible and what is not. I know Apple has a list but it's outdated. old, and not comprehensive. By you stating what make & model your camcorder is and if it works with FCE will help a lot of folks.

    Hi Sheila.
    The Apple list causes more trouble than it is worth.
    There are possibly thousands of cameras out there but testing is so time-consuming that Apple has only tested a handful - probably all those on the list!
    I think you will find that (almost) every mini-DV camera in the world, equipped with FireWire, will work OK in FCE.
    You probably stand a greater chance of being struck by lightning than of buying a new camera that will not work.
    Having said that, some Canon owners have experienced problems - which have usually been curable.
    If you buy from a local dealer you might be able to come to an agreement that you can return the camera in the highly unlikely case that it is not compatible with FCE.
    I believe some dealers will let you borrow cameras for short evaluation periods. (I don't expect the large "box-shifters" will do this).
    Ian.

  • What order are Nodes Syncronized in within the same NodeCollection?

    Basically is there a guarantee of synchronization order within a NodeCollection? I assume that there is and that it is based off the order in which the nodes were created. For instance in the SimpleChatModel the Node creation order is:
    HISTORY_NODE_EVERYONE
    HISTORY_NODE_PARTICIPANTS
    HISTORY_NODE_HOSTS
    TYPING_NODE_NAME
    When synchronizing will I receive all of the messages in HISTORY_NODE_EVERYONE before I receive *ANY* messages for HISTORY_NODE_PARTICIPANTS? Will HISTORY_NODE_PARTICIPANTS send all of its messages before HISTORY_NODE_HOSTS sends its messages? When I say "sent" I don't as much what the actual network traffic is (I don't care about the actual packet order of arrival, that is your job AFCS developers ), what I really care about is whether ItemRecieve for HISTORY_NODE_PARTICIPANTS can get executed while HISTORY_NODE_EVERYONE is still receiving messages?
    To take this a step higher in the hierarchy to the NodeCollection level does a NodeCollection need to be fully synchronized before another NodeCollection (that called subscribe after the first one) can get any ItemRecieve messages? If NodeCollection A subscribes before NodeCollection B is A guaranteed to get synchronized before B? Will A finish Synchronizing before B gets its first message?
    I am starting to run into an issue where I need to make sure certain NODEs are synchronized before I start recieving messages in other NODEs. I of course can check for the dependencies on reception and simply defer execution until the dependency is sync'd but this will create a lot more code failure points than I really wanted. I was hoping for a simplier way of doing this.
                             Ves

    Hi Ves,
      The AFCS dev guide mentions this in passing (3.1.5.1) but doesn't go into quite enough detail - we'll make a note to improve this for the next go-round.
      Essentially, all items for a given CollectionNode (from all of its nodes) are synched in the order that they were published, irrespective of which node they were published to. You can actually put a breakpoint down in MessageManager.receiveItems to watch this - all items for the entire collection are received in one big blob, then pushed onto an array, then sorted according to their timestamps and order, then sent as itemReceive up to the collectionNode.
      So yes, you could easily end up with an itemReceive for EVERYONE, followed by an itemReceive for HOSTS, then another one for EVERYONE. We make sure that they essentially come in the same order they did for people who were actually in the room at the time. For example in the chat pod, if I asked a question to the HOSTS node, which they answered on the public EVERYONE node, I'd want the items to be received in the right order, or the collective history wouldn't make sense.
    For separate CollectionNodes, their synchronization are kept separate (one at a time), since they're the result of individual subscribe() requests - the advice here is that if you have a series of items that have some dependency on order of arrival, you should make sure they're part of the same CollectionNode (which makes sense). If you need A to finish synching before B begins, put those items on different collectionNodes and call their subscribe() methods in that order. So, you can have it either way, depending on how you want to set it up.
    hope that helps
       nigel

  • What Order are Files Copied?

    I have a little $20 Centon MP3 player (in addition to my iPod) on which I want to listen to audiobooks. A "feature" of the player is that it plays files strictly in the order in which they are copied to its memory, unless the player is set to randomize them.
    On my iMac, I have a series of audiobook files, one per chapter, named "01.mp3, 02.mp3," etc. These files are, of course, shown in the correct order in their iMac folder. I select all these files at once, and drag them to the MP3 player, expecting them to be copied in order, top to bottom.
    But that's not what happens! The files are copied seemingly in random order, and that's the way they play on the MP3 player. Not good for listening to an audiobook.
    I worked around the problem by dragging the files one at a time to the player. Then they play in the correct order. But I'm curious about what's going on here. Why doesn't the iMac copy the files in the order in which they appear in the iMac folder?

    I've had a similar problem with a basic mp3 player (disgo lite) which I think is sold as a Windows-friendly player (no mention of Macs). I tried editing the id3 tags, but it didn't seem to help. The only thing that has worked for me is to format the player before I copy files to it.
    Jonathan

  • What order are Archive logs restored in when RMAN recover database issued

    Ok, you have a run block that has restored your level-0 RMAN backup.
    Your base datafiles are down on disc.
    You are about to start recovery to point in time, lets say until this morning at 07:00am.
    run {   set until time "TO_DATE('2010/06/08_07:00:00','YYYY/MM/DD_HH24:MI:SS')";
    allocate channel d1 type disk;
    allocate channel d2 type disk;
    allocate channel d3 type disk;
    allocate channel d4 type disk;
    recover database;
    So the above runs, it analyses the earlies SCN required for recovery, checks for incremental backups (none here), works out the archivelog range
    required and starts to restore the archive logs. All as expected and works.
    My question: Is there a particular order that RMAN will restore the archive logs and is the restore / recover process implemented as per the run block.
    i.e Will all required archive logs based on the run block be restored and then the database recovered forward. Or is there something in RMAN that says restore these archive logs, ok now roll forwards, restore some more.
    When we were doing this the order of the archive logs coming back seemed to be random but obviously constrained by the run block. Is this an area we need to tune to get recoveries faster for situations where incrementals are not available?
    Any inputs on experience welcome. I am now drilling into the documentation for any references there.
    Thanks

    Hi there, thanks for the response I checked this and here are the numbers / time stamps on an example:
    This is from interpreting the list backup of archivelog commands.
    Backupset = 122672
    ==============
    Archive log sequence 120688 low time: 25th May 15:53:07 next time: 25th May 15:57:54
    Piece1 pieceNumber=123368 9th June 04:10:38 <-- catalogued by us.
    Piece2 pieceNumber=122673 25th May 16:05:18 <-- Original backup on production.
    Backupset = 122677
    ==============
    Archive log sequence 120683 low time: 25th May 15:27:50 Next time 25th May 15:32:24 <-- lower sequence number restored after above.
    Piece1 PieceNumber=123372 9th June 04:11:34 <-- Catalogued by us.
    Piece2 PieceNumber=122678 25th May 16:08:45 <-- Orignial backup on Production.
    So the above would show that if catalogue command you could influence the Piece numbering. Therefore the restore order if like you say piece number is the key. I will need to review production as to why they were backed up in different order completed on production. Would think they would use the backupset numbering and then piece within the set / availability.
    Question: You mention archive logs are restored and applied and deleted in batches if the volume of archivelogs is large enough to be spread over multiple backup sets. What determines the batches in terms of size / number?
    Thanks for inputs. Answers some questions.

  • On Provision or reProvision, what order are the resources proccessed in?

    Howdy,
    I am fighting a race condition. Occasionally, when an end user claims their computing accounts, and active sync thread is undoing some of the claiming process. I have done a lot of work to eliminate race condition potential, and am now rather stumped. However, I have come to wonder if the Provision workflow service is the culprit. The toUpdate list has LDAP first, a few DB resources, then Lighthouse. It is the LDAP active sync process that is stepping on the toes of the account claiming. Does this list get processed linearly in order? If so this might explain what is happening. However I can not find any information in the order of execution....
    Does anyone know?
    Thanks,
    Jim

    Hi there, thanks for the response I checked this and here are the numbers / time stamps on an example:
    This is from interpreting the list backup of archivelog commands.
    Backupset = 122672
    ==============
    Archive log sequence 120688 low time: 25th May 15:53:07 next time: 25th May 15:57:54
    Piece1 pieceNumber=123368 9th June 04:10:38 <-- catalogued by us.
    Piece2 pieceNumber=122673 25th May 16:05:18 <-- Original backup on production.
    Backupset = 122677
    ==============
    Archive log sequence 120683 low time: 25th May 15:27:50 Next time 25th May 15:32:24 <-- lower sequence number restored after above.
    Piece1 PieceNumber=123372 9th June 04:11:34 <-- Catalogued by us.
    Piece2 PieceNumber=122678 25th May 16:08:45 <-- Orignial backup on Production.
    So the above would show that if catalogue command you could influence the Piece numbering. Therefore the restore order if like you say piece number is the key. I will need to review production as to why they were backed up in different order completed on production. Would think they would use the backupset numbering and then piece within the set / availability.
    Question: You mention archive logs are restored and applied and deleted in batches if the volume of archivelogs is large enough to be spread over multiple backup sets. What determines the batches in terms of size / number?
    Thanks for inputs. Answers some questions.

Maybe you are looking for

  • Firefox will not start--a series of problems.

    I hope someone can help me. This is a long one. I've had a number of problems with Firefox since installing it several weeks ago. It worked fine for a while, but one day upon trying to open Firefox I received this message: Alert. Could not initialize

  • What is new about CRM 7.0 pricing

    Hi Folks, Please help me In knowing what is new about CRM 7.0 Pricing compares to CRM 2007? Edited by: nnrsdn68 on Oct 27, 2011 12:36 PM Moderation: Locked. Rule number one: Try to find the answer first. [See rules of engagement|https://wiki.sdn.sap.

  • IMovie speed editor no longer working since Yosemite upgrade

    After upgrading to Yosemite yesterday, I've noticed that the speed editor no longer works. It used to be a turtle icon but now it's a clock (3rd icon from the right in the attached image)..but a clock that can never be clicked on. Also Command R is s

  • How to change a posting date of an invoice in background

    Hello, I want to change the posting and invoice dates ( to correct many invoices,) I use the MIR4 transaction, the batchinput works fine in foreground, but in background I have the error Control framework : erreur fatale, destination SAPGUI due to en

  • Relation between maintainance order and capacity plannig

    Hi If i create maintainance order for workcenter or resource that has been used in capacity planning in production process then is it going to affect capacity value. if it is then how and where? Thanking you.