Receive Vs dequeue - Why receive or onMessage() does not remove messages?

I have a java class that receives messages from a oracle queue. When I create a receiver and receive the messages from the queue, I get the messages but the message stays on the queue instead of being removed.
However when I use the dequeue method from OracleAQ the message is removed from the queue.
I cannot use a dequeue ultimately as I need to setup a MessageListener on the queue to receive messages asynchronously. This is not supported by AQ.
How can I make sure the receiver removes the messages from the queue? Do I need to set some properties when I receive the message using the receive() method or the onMessage() method on the MessageListener?
The RETENTION_TIME on the queue is set to 0 in the database.
Please respond soon.
Thanks

I am seeing the same thing, and would really like to stick with using the AQjms interface if possible. Does anyone know of a work-around? Do I need to use the pl/sql dequeue method? Thanks in advance, Chris

Similar Messages

  • Expire does not remove messages

    1. I configured these settings to remove files from the Deleted folder:
    store.expirerule.agedeleted.exclusive = yes
    store.expirerule.agedeleted.folderpattern = user/%/Deleted
    store.expirerule.agedeleted.messagedays = 30
    store.expirestart = 22
    2. I ran a test expire with 'stored -n -v' and verified that messages would be expired from many accounts.
    3. I checked the default log and found that the expire started at 22:00 and finished at 23:46, but NO messages were removed.
    What's wrong?
    I'm using version:
    iPlanet Messaging Server 5.2 HotFix 2.12 (built May 22 2006)
    libimta.so 5.2 HotFix 2.12 (built 15:13:17, May 22 2006)
    HP-UX mailserv B.11.11 U 9000/800 1683737817 unlimited-user license

    Yes, I did a stop-msg/start-msg. Our system has both Trash and Deleted folders. The 'stored -n -v' check returned messages like this:
    NOTICE: expired 166 messages in 'user/aabebe/Deleted'
    I expected that the real run would remove those messages. This is the first time I've run an expire. Could it be they weren't deleted because stored can't tell they've been in the folder for 30 days? If that was true, I wouldn't expect to see the message above during the test.

  • Error in file receiver adapter (Directory does not exist / cannot be create

    I have a NFS reiceiver file NFS adapter with target directory:
    10.128.68.38\arbo2000\UploadPinfos\arbodev
    if I run this line in windows, windows access to this folder.
    Full Error log:
    Receiver Adapter v2123 for Party '', Service 'BS_0000_ARBO_DEV':
    Configured at 2006-04-06 18:08:26 CEST
    History:
    - 2006-04-06 18:08:35 CEST: Error: Message processing failed: Exception: Message processing failed - configuration error in file receiver adapter (Directory does not exist / cannot be created)
    Can somebody help me please??

    Hi Alvaro,
            If your XI server is running on Unix platform then you'll get the access only after mounting 10.128.68.38 this system as a drive. This is equivalent to the windows network mapping.
    Next thing is that once that is done then you can access the path /arbo2000/UploadPinfos/arbodev by mentioning it in your directory path.
    To check whether the above mentioned is the problem then pls do try by doing it with FTP protocol. If it works then for acting as a local directory for NFS you need to mount the drive.
    Cheers
    JK

  • Invalid aggregation:( The number received in BW does not tally

    Hi Guru's,
    We are currently facing issue in uploading data in to data traget cube which is showing green symbol in the request status,
    While in monitor it is showing yellow status on the status tab.
    I have checked in the request:
    So I have deleted the request and then reloaded it again.
    I have checked the load which is completed as the number of records are daily.
    But still this status is in yellow so currently I need help to wether, to make the status green manually.
    If so what are the implications.
    Kindly help me in this regards.
    Here is the Error detais:
    Technical:The number received in BW does not tally with the updated number.
    Processing Step:  Update rules
    In step by step:
    Error which is in red: Inadmissable Aggregation?
    Invalid aggregation in the update The number received in BW does not tally with the updated number.
    In details tab:
    Diagnosis
         No errors found. The current process has probably not finished yet.
    System Response
         The ALE inbox of BI is identical to the ALE outbox of the source system
         or
         the maximum wait time for this request has not yet been exceeded
         or
         the background job has not yet finished in the source system.
    Thanks for helping me in this regards in advance.

    Hi,
    I am not sure if the solution is still relevant but we faced a similar problem and we found the solution, so wanted to share with you .
    This error of 'Invalid aggregation' occurs if there are records in error and if the checkbox "No aggregation allowed" is selected in 'Error Handling' under 'Update' tab of Infopackage maintenance.
    Please carry out the followig steps:
    1) Go to the respective infopackage
    2) select tab Processing, make sure radio button  "Only PSA" and the checkbox "update subsequently to data targets" is selected.
    3) On the Update tab, click on the button "Error Handling" at the bottom
    4) Now of the available three radio buttons choose as per your requirement.(select  'valid records update, reporting possible(green)' for master data)
    5) Now, uncheck the box 'No aggregation allowed'
    What the last step does is that, the data is aggregated for the correct records and not for the incorrect records.
    So, in case of an error we will get a separate request for incorrect records, which we can correct and upload later to the respective target.
    This should help resolve the error.
    Regards,
    Roney.

  • I received an iCloud backup notification on my ipad mini but tapping "OK" does not remove it and therefore I am unable to do any activity on my ipad mini. please help urgent.

    I received an iCloud backup notification on my ipad mini but tapping "OK" does not remove it and therefore I am unable to do any activity on my ipad mini. please help urgent.??

    Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Messaging Server 4.1: Received mail is not returned to the sender if the receiving local account does not exist.

    I have found that received mail is not returned to the sender if the receiving
    local account does not exist. This problem occurs even if I use Console to
    enable the Return message to sender option under the error handling methods.
    In addition, I have used the configutil
    to confirm that I have set the value
    for Unknown account action to "13," which corresponds to the settings "Return
    message to sender," "Notify the postmaster via email," and "Log the error in
    the log file." Yet, in this situation, an error message is being sent to
    postmaster, but not to the sender, and the error is not being recorded in the
    log file.
    <P>
    Do the following steps:<BR>
    <P>
    <OL>
    <LI>From Console, open the appropriate Messaging Server.
    <LI>Click the Configuration tab.
    <LI>Open the Services folder.
    <LI>Select SMTP.
    <LI>Click the System tab.
    </OL>
    <P>
    Check the "Domain handled by this server exclusively" field to make sure that
    your mail domain is listed. If your mail domain is not listed, then Messaging
    Server will assume that there is another mail server that is handling the
    domain listed and will forward requests to this server.
    <P>
    For more information, please see the document <I>Messaging Server
    Administrator's Guide</I>, Chapter 3, Configuring SMTP Services at <BR>
    http://docs.iplanet.com/docs/manuals/messaging/nms41/ag/smtp.htm#1010371

    On Thu, 12 Dec 2013 16:16:02 +0000, lpphiggp wrote:
    > I'm seeing this XTCOM error occur all over our /var/log/messages for one
    > server, running SLES11sp2 / OES11/sp1;
    >
    > I don't really know what this is even for. We don't use NetStorage or
    > iPrint even, this server only does basic NCP file serving, DHCP, and
    > hosts a GroupWise PO.
    > Is this anything to be concerned about?
    If this:
    http://www.linuxquestions.org/questi...entication-vs-
    edirectory-825043/
    is to be believed, it seems to indicate that your NAM configuration on
    this server is not valid. I'm not seeing this message here on the OES
    servers I looked at, and NAM is working correctly here.
    David Gersic dgersic_@_niu.edu
    Knowledge Partner http://forums.netiq.com
    Please post questions in the forums. No support provided via email.
    If you find this post helpful, please click on the star below.

  • I have an IMac and an IPad 2. IMac receives and sends email. IPad does not. Message says name

    My IMac sends and receives email without problems. My IPad two does not. Message says user name & password incorrect. This is a constant problem forcing me to repeatedly change names & passwords in order to get email on the IPad. How can I sync these two units to recognize a single user name and password? Help! Considering a returrn to the Morse Code.  

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
     Cheers, Tom

  • Centro, set up , does zincronising is essential for centro to function, my receives calls but does not send

    my new centro seems to have a problem with set up.
    now the unit receives calls  but does not send ; does any one experienced a "se up" prolem?
    Post relates to: Centro (AT&T)

    If your are unable to send phone calls I would recommend that you contact your carrier about this. If you feel this is the device you can do a hard reset on it and before you sync try to place a phone call if that resolves the issue then go to your backup folder located here:
    XP
    C:\Program Files\Palm or Palm One\[hotsync username]\backup
    C:\Palm\[hotsync username]\backup
    C:\Program Files\Handspring\[hotsync username]\backup
    [Palm Desktop 6.2 only] My Documents\Palm OS Desktop\[hotsync username]\backup
    Vista
    Start-->Documents\Palm OS Desktop\[hotsync username]\backup
    Mac
    Macintosh HD : Applications : Palm : (Palm username) : Backup
    Macintosh HD : Users : (Mac username) : Documents : Palm : Users : (Palm username) : Backup
    And rename the backup folder to backupOld. Then sync. If this does not resolve the issue you may need to call the carrier to be sure that your SIM card and device is setup correctly.

  • Why the iPod Touch does not support GPS Bluetooth Reciever

    Why the iPod Touch does not support Bluetooth GPS.
    I had to make a jailbreak justto install and use roqyBT a Bluetooth GPS receiver,
    This aplication run witch these software:
    TomTom
    Navigon
    iGO
    Maps
    Google Earth
    Around me
    And run wich several receives as iBT 747, QSTARZ Q-1000, Holux M-1000 and my Nokia LD-3W.
    But I didn´t like to use Jailbreak, I only make the jailbreak to use a GPS bluetooth.

    Ipod touch supports bluetooth for stereo headsets/speakers and some peer to peer apps from the app store.
    Why is not a question that can be answered here.
    Only Apple would know.

  • Has anyone been able to contact Adobe to learn why their Flash Player does not work on Mac OS 10.6.8, no matter how many updates you install?  This seems like a big error by Adobe.

    I have thee Mac computers with Mac OS 10.6.8, one of which is a Mac Pro.  No matter how many updates I install from Adobe, their Flash Player does not work on any of these 3 computers.  I don't know how to contact Adobe Systems about this problem, but I think it is their responsibility to make sure that their so-called "universal" software works proplerly on a relatively recent operating system like OS 10.6.8 that is still in widespread use.  When you install the updates, nothing happens -- not even an error message.  What is the point of a universal player that is not universal?  It works fine on my MacBook Pro with OS 9 Mavericks, but it does not work at all -- indeed, has never worked -- on my 3 Macs with OS 10.6.8.  Has anyone contacted Adobe Systems to find out why the Flash Player does not work with OS 10.6.8 and what they plan to do about it?

    Where are you getting Flash from?
    Get the appropriate dmg installer here and then run it.
    http://www.adobe.com/products/flashplayer/distribution3.html
    If it still won't install, do these two things: First uninstall any Flash by going into the second level Hard Drive Library>Internet Plug-ins, and trash the Flash Player.plugin and flashplayer.xpt. Then boot into Safe Boot, Shift at the startup chime (give it much longer than a usual boot) and run the installer while booted in Safe Boot.

  • Can anyone explain me, why my iTunes 11 does not have the MiniPlayer ?!!!!

    can anyone explain me, why my iTunes 11 does not have the MiniPlayer ?!!!!

    which OS are you running?
    iTunes11 has limited options if you are running Snow Leopard or earlier.

  • I have reset my email password &now when I sign on I receive "yahoo server is not available" message.

    I have reset my email password &amp;now when I sign on I receive "yahoo server is not available" message.

    Welcome to the Apple Community Michael.
    Firstly, you need to change your details with Apple,  Start here, change your country if necessary and go to manage your account. You may have already done this.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > iTunes & App store, scroll down and tap your ID)
    If you are using iMessages or FaceTime, you will also need to log out and into your ID there too.

  • Could somebody, please, tell me why iTunes in Brazil does not accept PayPall payment? Is it being intended by Apple?

    Could somebody, please, tell me why iTunes in Brazil does not accept PayPall payment? Is it being intended by Apple?

    No one here could know such a thing.  Discussing Apple policies and decisions is not allowed here.
    From the terms of use this forum:
    do not add Submissions about nontechnical topics, including:
    Speculations or rumors about unannounced products.
    Discussions of Apple policies or procedures or speculation on Apple decisions."

  • Why can't i empty my trash bin? it prompts me to dele ''all locked items'' or ''unlocked items''...when i click delete ''all''...it runs up to a total of approx 29000 items, yet it does not remove it securely or at all!

    why can't i empty my trash bin? it prompts me to dele ''all locked items'' or ''unlocked items''...when i click delete ''all''...it runs up to a total of approx 29000 items, yet it does not remove it securely or at all! I am running OS X YOSEMITE

    Trash – Empty When File is Locked or in Use
    Try holding down the option button while trying to delete the Trash. If that doesn’t work, here is some more information.
    Trash FAQ          
    Trash Permission Error
    Trash Permission Error (2)
    Trash Permission Error (3)

  • Why a bdc program does not run background

    <b>why a bdc program does not run background</b>
    Thanks.

    HI,
    BDC programs can run in the background, If you use the Functionmodules which is Uplpoad a file from Presentation server or Upload from presentation server then we can not use the Program in the Background processing. if the BDC program does not have these function modules then we can use the program in Background
    Regards
    Sudheer

Maybe you are looking for

  • fo:inline in a cell that has a variable

    Using 10.1.3.4 BI Publisher on my desktop. I have a table in my rtf file. In a cell I can enter a field *<fo:inline color="red"><?EXPR11_11?></fo:inline>* and it will show the text in red as I want. If I change the cell to something like *<fo:inline

  • Z835 Sound card? Performanc​e?

    Sound is terrible on my Z835-ST8305.  Tried installing audio enhancement software from SRS.  Got message that there is no compatible sound card installed.  DFX installed but doesn't help much.  What IS my sound card?  Do I need new driver?  Any recom

  • CPU usage -- changing very frequently after setting Streams

    Hello All, We implemented Bi-direactional Replication using streams and is working fine. All of a sudden CPU usage spiked up on one database. It is changing very frequently sometimes it reaches even 100% . and this problem is on both the databases. P

  • ADF panelGroup component's background image in CSS does not render

    Hi, I have an issue with the panelGroup component, where a background-image specified in the styleClass DOES NOT RENDER when deployed on the OAS. It works fine when I run the page on my local OC4J. I've verified that the image I use is deployed corre

  • EBP without XI

    Hi all, Is it necessary to implement an SAP XI to send/receive XML Invoice or Purchase Order in EBP 4.0? Is it necessary to configure the Integration Engine in EBP with the role of Business System as Application System. Thank you