Retrieving messages - FIFO when using Correlation ID

Hi,
I've implemented a dbms_pipe clone using AQ (we're using RAC which doesn't support dbms_pipe - long story). Basically I've simulated dbms_pipe message queues by using CorrelationID's.
Unfortunately, it seems that when retrieving a message by CorrelationID, the order is undetermined. It is critical in my scenario that messages are dequeued in the order they were enqueued.
Does anyone have a trick or suggestion to solve my dilemma.
Thanks,
Steve

Thanks for the reply. I should have explained myself a bit better. We had a number of existing apps that were developed using dbms_pipe. When we migrated to 11g RAC, of course everything broke.
So I built a package that provides an identical interface to dbms_pipe but uses dbms_aq under the covers (which is RAC-friendly).
I need to use the CorrelationID because I am implementing multiple 'logical' queues (similar to the dbms_pipe functionality) inside a single AQ queue. Messages are tagged with a CorrelationID which represents the logical queue.
If there are multiple messages for a logical queue, calling the dequeue method with a CorrelationID (logical queue) does not necessarily retrieve the messages in FIFO order. On re-reading the documentation I see this is the expected (but in my case undesirable) behaviour.
I hope this explains my dilemma a bit better :-).
Thanks,
Steve

Similar Messages

  • How to do not insert the message content in the Message Inbox when use MFMessageComposeViewController control

    Dear all.
    In my app use the MFMessageComposeViewController control to send SMS message.The message content will be inserted to Message Inbox of iPhone.
    How to do not insert the message content in the Message Inbox when use this control?Because my message content has been encrypted. I don't want user can see them.
    Thanks

    I can't remember the steps, but if i'm not wrong, there are many "next" to click, and at the last windows, there is one dialog box with "do not show this message again".Maybe something to do with the registry, to enable to view this dialog box again. Date: Thu, 2 Feb 2012 06:38:24 -0700
    From: [email protected]
    To: [email protected]
    Subject: How to enable  the option "do not show this message again" in dreamweaver cs5
        Re: How to enable  the option "do not show this message again" in dreamweaver cs5
        created by Murray ACP in Dreamweaver - View the full discussion
    So, you open Site manager, click New, and then what?  I'm trying to understand which dialog you dismissed.  Can you help me?
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4180872#4180872
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4180872#4180872. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • "Resend" word at message subject when using GMail

    When I send a message through Mail using the GMail server, the message is stored in the sent folder with the word "resend" in the subject. Why does this happen? Was the message sent or not?

    I'm not computer-literate enough to answer your question, but I can confirm that the solution that was recommended to me has indeed worked, and I have had no problem with these pop-ups for the last week. - Chris.

  • Retrieval very Slow when using Partition in ASO

    <p>Hi -<br><br>I have partitioned my ASO cube using Transparent partition and I amretrieving it thru BSO.The retrieval for some combinations are VERYVERY SLOW in Excel.We have over 250,000 members.I have usedRetrieval Buffer and Retrieval Sort Buffer sizes of 10000KB and1000KB respectively.Some retrievals take more than 4 minutes.<br>When Designing Aggregation for ASO, I have used the Recommendedviews to materialize aggregation.<br>Do I have to do or change some settings for better Performance?<br>Any help would be greatly appreciated.<br><br>Thanks,<br>Narain</p>

    <p>Making direct I/O (in place of default buffered I/O) candefinitely help a lot.</p><p>Then you can increase some data file cache upto 2GB [as per yoursys support]. Also check about your dedicated parallel processsides.</p><p>I wish it helps.</p>

  • Message looping when using g-mail

    I need some help! I set up a new g-mail account on my MacBook and when I am using it, it automatically sends the message to my Blackberry Curve while I am composing the message. Then, when I move messages in my g-mail account to "trash" the system dumps them into my Blackberry. Is there a filter available to make this go away. It is really annoying to have to sit and dump 50 to 60 trash messages out of my Blackberry when this happens.
    Thanks 

    Here is the link to solve the problem
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB10332&sliceId=SAL_Pub...
    If I help you with any inquire, thank you for click kudos in my post.
    If your issue has been solved, please mark the post was solved.

  • Why are there CORBA error messages -- COMM_FAILURE when using the orb obj?

    Hi Guys,
    I followed the tutorial http://download.oracle.com/javase/6/docs/technotes/guides/idl/GShome.html
    compiled and run the code. Everything works fine however whenever I use the ORB orb object I get the following message
    both in my Naming Service and the HelloServer output:
    2010-12-10 12:35:46.505 FINE Transport to 127.0.1.1:44100: stream closed on read < 0
    2010-12-10 12:35:46.506 FINE ServerGIOPConnection to 127.0.1.1:44100 (ec4a87): getMessage() -- COMM_FAILURE
    2010-12-10 12:35:46.507 FINE ServerGIOPConnection to 127.0.1.1:44100 (ec4a87): streamClosed()
    2010-12-10 12:35:46.508 FINE ServerGIOPConnection to 127.0.1.1:44100 (ec4a87): close()
    Why is this happening?
    I have also installed jacorb and added it to my class path and run the examples with:
    jaco -Djacorb.config.dir=. -DORBid=HelloClient HelloServer
    ns -Djacorb.naming.ior_filename=/home/zorg/Project/Java/CORBA/NameService/NS_Ref
    jaco -Djacorb.config.dir=. -DORBid=HelloClient HelloClient
    I have included the code from the tutorial for convinience:
    // HelloServer.java
    // Copyright and License
    import HelloApp.*;
    import org.omg.CosNaming.*;
    import org.omg.CosNaming.NamingContextPackage.*;
    import org.omg.CORBA.*;
    import org.omg.PortableServer.*;
    import org.omg.PortableServer.POA;
    import java.util.Properties;
    class HelloImpl extends HelloPOA {
      private ORB orb;
      public void setORB(ORB orb_val) {
        orb = orb_val;
      // implement sayHello() method
      public String sayHello() {
        return "\nHello world !!\n";
      // implement shutdown() method
      public void shutdown() {
        orb.shutdown(false);
    public class HelloServer {
      public static void main(String args[]) {
        try{
          // create and initialize the ORB
          ORB orb = ORB.init(args, null);
          // get reference to rootpoa & activate the POAManager
          POA rootpoa = POAHelper.narrow(orb.resolve_initial_references("RootPOA"));
          rootpoa.the_POAManager().activate();
          // create servant and register it with the ORB
          HelloImpl helloImpl = new HelloImpl();
          helloImpl.setORB(orb);
          // get object reference from the servant
          org.omg.CORBA.Object ref = rootpoa.servant_to_reference(helloImpl);
          Hello href = HelloHelper.narrow(ref);
          // get the root naming context
          org.omg.CORBA.Object objRef =
              orb.resolve_initial_references("NameService");
          // Use NamingContextExt which is part of the Interoperable
          // Naming Service (INS) specification.
          NamingContextExt ncRef = NamingContextExtHelper.narrow(objRef);
          // bind the Object Reference in Naming
          String name = "Hello";
          NameComponent path[] = ncRef.to_name( name );
          ncRef.rebind(path, href);
          System.out.println("HelloServer ready and waiting ...");
          // wait for invocations from clients
          orb.run();
          catch (Exception e) {
            System.err.println("ERROR: " + e);
            e.printStackTrace(System.out);
          System.out.println("HelloServer Exiting ...");
    // Copyright and License
    import HelloApp.*;
    import org.omg.CosNaming.*;
    import org.omg.CosNaming.NamingContextPackage.*;
    import org.omg.CORBA.*;
    public class HelloClient
      static Hello helloImpl;
      public static void main(String args[])
          try{
            // create and initialize the ORB
            ORB orb = ORB.init(args, null);
            // get the root naming context
            org.omg.CORBA.Object objRef =
                orb.resolve_initial_references("NameService");
            // Use NamingContextExt instead of NamingContext. This is
            // part of the Interoperable naming Service. 
            NamingContextExt ncRef = NamingContextExtHelper.narrow(objRef);
            // resolve the Object Reference in Naming
            String name = "Hello";
            helloImpl = HelloHelper.narrow(ncRef.resolve_str(name));
            System.out.println("Obtained a handle on server object: " + helloImpl);
            System.out.println(helloImpl.sayHello());
            helloImpl.shutdown();
            } catch (Exception e) {
              System.out.println("ERROR : " + e) ;
              e.printStackTrace(System.out);
    }Edited by: 819887 on 10-Dec-2010 04:51
    Edited by: 819887 on 10-Dec-2010 04:58

    Figure out the actual problem is when the naming service is resolving the name on line:
    helloImpl = HelloHelper.narrow(ncRef.resolve_str(name));

  • Annoying messages bug when using mass storage to s...

    As you all well know the c: drive on n97 is quite small. I have about +2000 messages on my phone and I use the 32gb mass storage to store all of my emails and sms's. 
    It works ok untill I connect my phone to pc using mass storage mode. The first thing it does is it says e: drive unavailable - using c: to store messages. Ok - that makes sense BUT the darn thing doesn't switch back to using e: drive when I unplug it from the computer. Instead I have to switch it back to e: manually (from sms settings and email settings). It's also impossible to move messages that I have received while using mass storage mode to the drive e:
    I really hope that nokia does sth about this matter. It's the single most annoying bug that this phone has.

    To answer a few questions here...
    The way the mass memory is broadcast to the computer when connected in PC Suite mode is called "OBEX". It's a kind of file transfer protocol. When it's connected in "mass storage" mode it uses an industry standard usb-storage protocol exactly like pen drives, external hard drives, external CD/DVD drives etc.
    The difference between the two is that in mass storage mode, the phone relinquishes control of the storage space and hands it over to the host computer. That way, the computer sees everything on that device and it also happens to be compatible with more or less every operating system under the sun. In PC Suite mode, the phone retains control of the storage space and decides what to let the computer "see". Directories that are crucial to the phone's operation, such as "private" and "system", are not shown to the computer. Added to that, the computer needs specific drivers to be able to use the OBEX protocol, and this excludes non-mainstream operating systems.
    As for being able or unable to transfer messages from one area to the other, the reason is fairly simple. Messages are stored in their own directory inside the "private" directory. If, for example, there's no such directory set up on E: when you want to choose that drive for storing messages, the phone considers that it has never been used for this and therefore asks you if you want to copy your messages from C: to E: so that they're still available to you once you switch over. If, OTOH, there is already a trace of E: having been used for storing messages (ie. if the messaging directory inside E:\Private does exist) then the phone considers that you might not want to clobber what's already there and doesn't offer to replace them with what's on C:.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Message mapping when using BPM?

    We are doing a test to see if you can do a split of a string using standard functions, UDF or BPM.
    We discovered that standard function has some of the functionality but if you are going to solve the problem that way the solution will be very complex. You will get no flexi bility in how to design the string and all the feilds will have to have fix length. So Standard functions are not the solution for us.
    UDF works realy great. Write your java function and map it and everything are running.
    We wont to test BPM as well. and i just started to look at it and how to solve it. I'm a newbee on BPM and for start I'm wondering how the message mapping should look to use in the BPM?
    Sourcemessage looks as follow:
    <Header>
       <Line>  
          <SegmentA>   0 to unbounded
          <SegmentB>   0 to unbounded
          <SegmentC>   0 to unbounded
    SegmentA contains a value to be copied to a segment in the target.
    SegmentB contains a date to be copied to a targetelement.
    SegmentC contains a string that we want to split into several elements in the target structure.
    Targetmessage looks as follow:
    <Header>
       <LineA>   1 to 1   (Will get the value from SegmentA in the sourcemessage.)
       <LineB>   1 to 1   (Will get the value from SegmentB in the sourcemessage.)
       <LineC>   0 to unbounded
          <ElementA>   0 to 1   (Will get a part of the string from SegmentC in the sourcemessage.)
          <ElementB>   0 to 1   (Will get a part of the string from SegmentC in the sourcemessage.)
          <ElementC>   0 to 1   (Will get a part of the string from SegmentC in the sourcemessage.)
    To able to get the messages into BPM I need a interfacemapping and to do the interfacemapping I need to do a messagemapping. How should that messagemapping be configured?

    > Now i want to try to replace that UDF with a BPM (Integration Process).
    An UDF is part of a mapping and an Integration Process is used if you want to realize a more complex scenario then sending a message from System A to System B. In BPM you can do things like collecting messages, use timeouts, ...
    But if you want to use a mapping in a BPM you define your mapping in your Integration Repository (like in a standard scenario without BPM) and then you can use the mapping in the Integration Process.
    That's why i say it's maybe possible to realize your mapping without UDF (for example only with standard functions), but it makes no difference if you use BPM.
    If you want to try finding a solution without UDF, i would suggest to open a new thread for this question.
    Hope this helps.
    Regards
    Patrick

  • Hp10b11+ calculator error message "running" when using INPUT and Shifted AMORT keys- why?

    above describes the issue. Any ideas why? I've tried resetting methods, batteries removed,etc.

    Thanks, Yes I understand that the calculator message "running" should be a brief event. It's definitely not. Many minutes can go by and no change.  And the display does not show what my course manual states should be coming up.
    Its a mortgage calc. using the following sequence:
    KEYS USED:                                        DISPLAY:
    6 I/YR                                         6              
    12  shift P/YR                          12
    60000 PV                                  60,000
    240 N                                          240
    0 FV                                             0
    PMT                                           -429.858635087
    then rounding payment up:
    429.86 +/- PMT                      -429.86
    N                                                    239.998529245
    36INPUT shift AMORT          PER 36-36                     *This is what is supposed to display, but this is where "running"
                                                                                                        displays and does not solve.  I left the calc. alone for a very long time.
    So I have removed both batteries, and tried to run different clearing options that the manual outlines. Nothing is mentioned about the functon of the INPUT key or what to do with this error. The calculator had done numerous other functions without a problem, so I am wondering if there is some value stored that creates a long running calculation, or if there is indeed a glitch with the actual calculator that presents itself with these calculations. 

  • A popup message comes when using transaction launcher

    Hello experts.
    I have configured transaction launcher to show a report program output in the UI (stateful not checked).
    Everything is working fine, but when I click on any other navigation bar links after seeing the report in UI, a pop-up message comes as 'Possible Data Loss. Do you want to continue'. Although when I click 'yes', it works normally thenafter and no data is lost.
    But what can be the reason for this message to com and how can I remove it.
    Thanks
    Abhi

    Hi Robert,
    I'm facing the same problem. But as I've created my transaction launcher by IMG link  'Configure Transaction Launcher' I can't see any entry under 'Define URLs and parameter.
    Also while creating the transaction launcher both Stateful and Raise Veto were not checked.
    What do I do in this scenario?
    Regards,
    Shaili

  • Message errore when use UTL_SMTP

    when try to send mail from a form i have this error :
    ERROR at line 1:
    ORA-20001: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 83
    ORA-06512: at "SYS.UTL_SMTP", line 356
    ORA-06512: at "SYS.EM1", line 50
    ORA-06512: at line 1
    what kind of error is ?
    thank's for a replay!

    This error is comming from your SMTP mail server and is being propogated into the UTL_SMTP package.
    Typically this error indicates that you are not using the correct email server name in the UTL_SMTP.OPEN_CONNECTION() call.
    Verify that email server is accessable with the address give, if not correct that.

  • Is it possible to cancel a message request when using find my iphone?

    Is it possible to do this?

    No, once you send the message, it will arrive at the soonest opportunity.

  • Error message appears when using compressor

    What means this error message (it's in a French version of Compressor 4) : "Failure : Quicktime error : - 50" ?

    Hi Thot, just trawling these forums looking for some info.. I noticed this.... yeah the QT error -50 comes up.. cant find a specific reason. I had this has with a job I submitted via FCPX ti Compressor.app via "send to compressor". I recall a thread somewhere in these forums that this error was a result of genuine Quicktime error whilst performing work on one or more effects in FCPX.
    So I simply went in and redid the effects in FCPs. It was something simple like a cross dissolves.
    In any case if you are gettingt this error from a comperssor submittion of SHARE from FCPX and you see it in compressor., it might be worth do a trial and error on your FCPX storyline.
    Simply make a few test projects and try to narrow down withe effect is causing this issue.
    worth a look
    w
    Hong Kong

  • HT3529 How to retrieve messages recieved when imessage is off

    If my iPad is off and someone sends me an iMessage, how can get them when turn imessage bac on?

    Restore from backup if the backup would have them
    iOS: How to back up and restore your content

  • Trouble retrieving Button value when using OnPlotAreaMouseUp() Callback function

    I'm using an NiGraph control and have set it up for the OnPlotAreaMouseUp event. I get to the OnPlotAreaMouseUp() callback fine, but the *Button value is always set to 0, and therefore I cannot ascertain which mouse button has been released. The *Shift value seems to work fine however.

    This appears to be a bug in the current version of the graph - I will log a bug report about this issue. The button parameter is set correctly in the PlotAreaMouseDown event, so for now you could work around it by caching the button value in the PlotAreaMouseDown event and evaluating the cached value in the PlotAreaMouseUp event.
    - Elton

Maybe you are looking for

  • JPA with EclipseLink, error Entity cannot be cast to Entity, any help?

    Hello, I'm currently deploying a JPA project with EclipseLink on a MySQL db, it's been working fine, however, I'm receiving a problem of this type: java.lang.ClassCastException: beans.Empleado cannot be cast to beans.Empleado Where Empleado is my Ent

  • Galleries and 'losing' them

    Hi I posted a gallery and then told all my friends about it. Then I switched off my computer ... and I started to get all these messages saying people couldn't see anything any more. So I switched on the computer, and iPhoto and then they could see e

  • Can't edit or duplicate events

    I have set up a few new events, but when I go to edit  information (to change time, add banners etc) it won't save my updates on SOME of them. Some I can edit without problems, but the remainder will not update after I click 'Save' - the information

  • Using Personal LaserWriter 300 w/eMac, OS X 2

    Did anyone ever come up with a driver to allow a PLW 300 to work with Mac OS X? Along with the appropriate serial to USB adapter, I'm assuming. My one last query before I bite the bullet and buy a cheap Brother model, I guess....thanks for any help..

  • Why photos in iPhoto (mac) have a different size (mb) than the original?

    I have noticed that some photos (not all) have a smaller size (in MB) in iPhoto than the original ones. Do you know the reasons of such decrease of size? iPhoto import procedure is supposed to not lose any information wrt the orignal one then, why th