Message not deleting from Topic after successfully dequeue

Hi All,
Help please..
I need to design a process where message have to produce into a AQ JMS topic and later i have to consume the message from the same topic and publish to a Queue.
In order to move on this i have created a sample My_Topic1 and My_Queue1 with below syntax
Topic:-
EXEC dbms_aqadm.create_queue_table (queue_table=>'MY_Topic1', queue_payload_type=>'sys.aq$_jms_text_message', multiple_consumers=>true );
EXEC dbms_aqadm.create_queue(queue_name=>'MY_Topic1', queue_table=>'MY_Topic1');
EXEC dbms_aqadm.start_queue(queue_name=>'MY_Topic1');
Queue:-
EXEC dbms_aqadm.create_queue_table (queue_table=>'My_Queue1', queue_payload_type=>'sys.aq$_jms_text_message', multiple_consumers=>false);
EXEC dbms_aqadm.create_queue(queue_name=>'My_Queue1', queue_table=>'My_Queue1');
EXEC dbms_aqadm.start_queue(queue_name=>'My_Queue1');
Now i created Foreign server and create local and destination topic of queue.topics name and also created Data source of XAType.
Now my bpel process getting a message(which as one element of sting type) from a web service and i am producing the same message to Topic. Once the message published to topic in a separate composite my JMS Adaptor dequeue/Consume the message from the topic and subscribe it to queue.
The Above scenario working as expected but here what my observation on this
1)When i dequeue message from a topic using bpel process successfully i am able to subscribe the message to queue but the message still remain in the topic i think it suppose to get of the topic once successfully dequeued.
Even i check the subscriber topic table and one subscriber is listening to the topic.
2)If in case any error generated at the time of subscribing to the queue the message should rollback( because i am using XA Transaction) but i think it is not happening as i can see in my topic view aq$my_topic1 MGS_STATE changed to PROCESSED.
Can some one please let me know where i am going wrong.
Thanks in advance.
Regards,
Tarak.
Edited by: Tarak on Sep 9, 2012 8:47 PM

The behavior should be the process consume a message from the topic and will try to do its job. If this process fail, {code]
But in this message not there in topic even it is failed in soa process.....i am very much interested how this XA is  working that the reason i am trying all this.What to do with a failed/expired message is usually configurable, but doesn't make sense to place it in the same topic again... If the messages are failing too quickly better to adjust the max_retries and retry_delay...I agress in real senario we will move to error queue. But in that case also some how we need to read the message from queue and publish to the end system.
I am just trying to understand the behavior and what i came to know is after all the retire fails message not going to topictable _E. But when i pass Expire time property or time to live then it is moving to error table.What do you mean? What server was restarted, the database or the soa server? Messages that still didn't reach the max retry number will still be retried...Wheni am bouncing my managed server soa_server1 i can see the invoke activity is trying to publish the message into queue... this is happens after server restart and suppose not to happen....
But thanks alot for the inputs...
Regards,
Tarak.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Some messages not deleted from server after downloading

    We have about 1,000 mail users, all of whom use Apple's Mail app to retrieve their mail using POP. We've seen users' mailboxes on the server where not all messages have been deleted after downloading, even though the user's app has been configured to delete messages immediately after downloading. The strange thing is, undeleted messages appear in large non-contiguous blocks of time. Like there will be 100 messages from January, then 250 from July, and so forth.
    Has anyone seen this behavior? Can anyone help me a) understand why this is happening and b) how to fix it? Thanks in advance to whoever can help.

    Thanks- but I don't want the messages deleted when they are deleted from my Mac, I want them deleted when I download them. However, I just found the setting so I'm fine.
    Thanks, again!
    set delete from server when deleted from my mac in mail preferences
    And if you want you could tell us a little more - like what type of account, what settings, etc

  • Dequeued messages not deleted from one queue but other works

    Hi,
    I have a multiconsumer queue with two local subscribers.
    The messages go to the 'PROCESSED' state but do not get
    deleted from the queue table.
    As a test, I created another single consumer queue in a different andqueue table, but the oracle deleted the 'PROCESSED' messages as expected.
    In the multiconsumer queue, the messages are added by a trigger on the table. The enqueued messages varies from 100000 to 10000 per hour.
    aq_tm_processes = 5
    job_queue_processes=4
    What else can I do debug the problem?
    Is there any log file on the database server that I can
    look at any potential problem.
    I would appreicate any responses. This could very well
    be a newbie problem. I have not worked on advanced queues
    before and nor has anyone else in our system.
    Thanx,
    HB.

    I forgot to add that I am using default retention time
    and when I query user_queue the retention time is set to zero for the multiconsumer queue.

  • Message not deleting from mailbox ?

    Hello guys,
    Can anyone help me out.
    I am trying to delete a message from mailbox 's "All Mails" and i have set the flag as:-
    msg.setFlag(Flags.Flag.DELETED, true);
    but the msg. is not getting deleted.

    gauravj wrote:
    Hello guys,
    Can anyone help me out.
    I am trying to delete a message from mailbox 's "All Mails" and i have set the flag as:-
    msg.setFlag(Flags.Flag.DELETED, true);
    but the msg. is not getting deleted.
    Did you use the expunge() method on the folder, or use close(true)? Otherwise the messages marked as DELETED will not be removed yet.

  • Notes deleted from iPad after turning on Notes in Gmail: How to Recover?

    I upgraded from iOS 6x to iOS 7.04 and my notes were intact. Then I turned on Gmail to new account and turned on the Notes feature (seemed like a good idea at the time). When I return to Notes on the iPad, there are none. When I check my new Gmail account there are none. When I check my old Gmail account there are no notes. I upgrade to the new Gmail app designed for iOS 7, that didn't help. I do not have a backup in iTunes or iCloud.
    Any ideas of how to solve get my notes back? I have a lot and they are important.

    Just turn notes syncing back on again.

  • Persistent messages are not deleted from JMS store

              Hi,
              I'm experiencing some unexperienced JMS store behaviour with WLS 6.1 sp 4. I have
              a servlet that posts a message to persistent JMS queue, which will be eventually
              consumed by an MDB. Even though consumption is successful, the message is not
              deleted from JMS store.
              The message will be redelivered after server restart and is still not deleted
              from JMS store. I verified this using file store and JDBC store. The messages
              actually stay in the JMSSTORE table till doom's day.
              I couldn't reproduce the case with WLS 6.1 sp 3. Exactly the application code
              was used in all cases.
              Subsequently I ran the same case with various ServerDebug DebugJMSXXX-flags set,
              and discovered that WLS 6.1 sp3 logs 'asyncDeleteL' and 'ZZZDelete' for the consumed
              message. WLS 6.1 sp4 didn't log this information.
              I'm running WLS 6.1 on WinNT and Win2000.
              Comments?
              b r
              Juha Räsänen
              

    I've am having exactly this problem with wl 5.1....
              I first saw it with 5.1 sp8....
              In the release notes for 5.1 sp10, the following CR was fixed, which seemed
              like it might have been my problem:
              CR 45915
              Fixed a JMS problem with messages begin left in the queue after received messages had been acknowledged. When a high volume of
              messages was sent to a queue and a consumer retrieved those messages and sent them to another queue, the messages were not being
              removed from the first queue even though they were acknowledged.
              We upgraded to 5.1 sp12, and it appeared that the incidence of that problem was reduced.
              However it still occurs once or twice a week, with 5.1 sp12....
              My situation is a little bit different, in that my consumer retieves a message, and sends another
              message to the SAME queue instead of another queue as described in the CR above...
              It does happen under heavy load, etc....
              Don't know if this has been reported and identified for wl 5.1 sp12 or not...
              It is of course a really difficult to deal with bug....
              Jason
              "Juha Räsänen" <[email protected]> wrote in message news:[email protected]...
              >
              > Hi,
              > I'm experiencing some unexperienced JMS store behaviour with WLS 6.1 sp 4. I have
              > a servlet that posts a message to persistent JMS queue, which will be eventually
              > consumed by an MDB. Even though consumption is successful, the message is not
              > deleted from JMS store.
              >
              > The message will be redelivered after server restart and is still not deleted
              > from JMS store. I verified this using file store and JDBC store. The messages
              > actually stay in the JMSSTORE table till doom's day.
              >
              > I couldn't reproduce the case with WLS 6.1 sp 3. Exactly the application code
              > was used in all cases.
              >
              > Subsequently I ran the same case with various ServerDebug DebugJMSXXX-flags set,
              > and discovered that WLS 6.1 sp3 logs 'asyncDeleteL' and 'ZZZDelete' for the consumed
              > message. WLS 6.1 sp4 didn't log this information.
              >
              > I'm running WLS 6.1 on WinNT and Win2000.
              >
              > Comments?
              >
              > b r
              > Juha Räsänen
              

  • Messages are NOT deleted from tables XI_AF_MSG and XI_AF_MSG_AUDIT

    Hello,
    I set the retention period to 7 days (1 week)
    I also set the default ARCHIVE and DELETE jobs and ALL are working fine.
    However, messages with OLD dates are NOT deleted from the tables XI_AF_MSG and XI_AF_MSG_AUDIT.
    These tables 32GB in the DBD table space.
    I tried to use the URL:
    http://<host>:<port>/MessagingSystem/archiving/reorgdb.jsp
    BUT to NO avail.
    How do I DELETE or ARCHIVE these messages ?
    ============================================
    Here are some more details on the content of the tables (I took into account 1 MONTH retention):
    db2 "select count(*) from sapxi3db.XI_AF_MSG_AUDIT where STATUS='SUCC' and TIME_STAMP < '2007-09-10 00:00:00'"
          28947
      1 record(s) selected.
    db2 "select count(*) from sapxi3db.XI_AF_MSG_AUDIT where STATUS='ERR' and TIME_STAMP < '2007-09-10 00:00:00'"
          13243
      1 record(s) selected.
    db2 "select count(*)  from sapxipdb.XI_AF_MSG where PERSIST_UNTIL < '2007-09-10 00:00:00' and STATUS='NDLV'"
           1048
      1 record(s) selected.
    db2 "select count(*)  from sapxipdb.XI_AF_MSG where PERSIST_UNTIL < '2007-09-10 00:00:00' and STATUS='DLVD'"
              0
      1 record(s) selected.

    Hi,
    First, thank you VERY much for answering.
    Now to your questions:
    1. When using the URL:
    http://<host>:<port>/MessagingSystem/archiving/reorgdb.jsp
        I did NOT get any ERROR messages.
        Thousands of messages where DELETED successfully.
        However, the number of rows in XI_AF_MSG_AUDIT did NOT reduce.
    2. I used the default archiving and deletion customizations and jobs.
       However, I ran them manually a few times a day with NO change in the
       number of rows in XI_AF_MSG_AUDIT
       What do you mean by "customized any Archiving for adapter Engine" ?
    . In RWB, I do see the default job is running
    Have you customized any Archiving for adapter Engine or You are using default arciving which runs every 24 hrs.
    3. I did ser the retention period for the adapter engine messages in visual admin in seconds...
    Please, advise further.
    Kind regards,
    Gil

  • Mail not moving messages or deleting from server until application quitted

    I have an Outlook.com email account. When I delete messages or move them in Apple Mail, the change is not reflected on the server until I quit the program completely. This isn't happening with other actions. Mail is immediately marked as read or flagged on the server for example. When I move or delete messages in Mail they actually show up in both the original location and the new location until the application is quitted.
    Anything I can do to fix this?
    OSX Mavericks 10.9.1
    Apple Mail 7.1

    Hi Thomas
    Yes...personal folders are mailboxes I've created to organize my mail. I know as a fact that this messages still are on the server even after moving them to "personal folders". anyway I think i can get around this issue by rightcliking on the account and then getting account information. I can then filter by "removed from my mac". at that stage there's an option to select those messages and "delete from server"...I think this will work...will try now.
    Thanks for your help

  • HT4898 So, the emails I have not deleted from my mac will not be available after I move to iCloud?

    So, the emails I have not deleted from my macbook will not be available after I switch to iCloud?
    Also, I have an iPhone4 and an original iPad.  Will these, along with my macbook, still be compatible?  IE synched?

    Margaret1947 wrote:
    So, the emails I have not deleted from my macbook will not be available after I switch to iCloud?
    That is incorrect, archive them now and restore them later, if they are Mobile Me emails they will move to iCloud without you doing anything, but you should still archive them first.

  • Nokia Messaging not deleting emails from Gmail ser...

    When I access my gmail account via Nokia Messaging on my E72, any emails that I delete using my nokia are not deleted from my gmail account - instead they are being transferred to my All Mail folder, which is where I keep email that I have ARCHIVED, not email that I have deleted, so it's messed up my archived mail and also means that when I access my gmail via POP in Outlook, items that I have previously 'deleted' on my mobile have to be downloaded and sorted through again. Is there a way to change this behaviour? At the moment the gmail app is a better option.

    Unfortunately this didn't work for me (E75). I created an extra label. I also subscribed in imap to this folder. When I want to delete a message, I move it to this folder / label. Every now and then I delete all these mails from gmail on my PC.
    Suyogmh wrote:
    This is well known behavior of Gmail and not problem with Nokia Messaging as such.
    Gmail has different way of handling emails with labels instead of folders. So "All Mails" means all mails except Spam and Trash. Check following link for more details.
    http://mail.google.com/support/bin/answer.py?hl=en &answer=77657
    Check if following settings are in order in Gmail - settings - forwarding and POP/IMAP in web browser.
    Status: IMAP is enabled
    Auto-Expunge : Do not automatically expunge messages
    When a message is expunged from the last visible IMAP folder:  Immediately delete the message forever
    Folder Size Limits: Do not limit the number of messages in an IMAP folder
    Now head over to email.nokia.com and login with your username/pwd
    Under My Email Addresses, for your gmail account , click edit settings
    Now in "Mail folders to sync" Please ensure that you select "All Mail" , "Spam" and " Trash"
    You can also select other labels , max upto 10.
    Click Save changes and log out.
    Now in your Nokia Phone, Open Nokia Messaging and Sync again.
    Go to Gmail and these new labels should appear there.
    If you want to delete a message from all folders, move it to the [Gmail]/Trash folder.
    If you delete a message from [Gmail]/Spam or [Gmail]/Trash, it will be deleted permanently.
    So I know it's little extra effort but we can do it. I hope you find this useful.If yes, don't forget to give me Kudos 

  • Inaccurate "Message not downloaded from server" message

    I recently started seeing error messages like the one below appearing in the body of my Mail messages right after reading new messages from the POP server at my work (a large hospital). I'm running OS 10.3.9 on a dual 2GHz PowerPC G5. None of the other Mac users in my group at work are getting this type of error message:
    "The message from "Doe, John" <[email protected]> concerning “RE: New spheres” has not been downloaded from the server. You need to take this account online in order to download it."
    I don't believe this has anything to do with our mail server at work. My account is "on-line" when I see this message, and taking it off-line and then on-line again does not correct the problem.
    When I see it, this error message appears as the only text in many or all of the e-mails in my "InBox" -- and it replaces the actual text of each message -- even in messages that were previously downloaded and read successfully. I have never seen this message appear in any other mail folders -- I have only seen it in mail messages in my InBox.
    This error message is clearly not accurate because when I see it in one or more emails, I can simply quit Mail and then re-start it and then I can see all of my In-Box mail messages correctly again, (without downloading anything again from the server).
    I have tried deleting the mail preference file, and I have run the utility program Yasu to try to clean things up. Nothing has worked to fix this bug.
    Suggestions?
    Dual 2 GHz PowerPC G5   Mac OS X (10.3.9)  

    This is not a bug.
    All email clients have limits and the recommended mailbox size limit for Jaguar or Panther Mail is 1GB and for Tiger Mail, 2GB.
    This error message indicates an "overstuffed" mailbox issue which means the account's inbox mailbox has either approached or exceeded 1GB in size or the mailbox has some corruption. An "overstuffed" mailbox issue can occur at any mailbox size but is more likely to occur depending on the number and size of message attachments contained in a mailbox and especially as a mailbox approaches or exceeds 1GB in size for Jaguar or Panther Mail.
    This has been eliminated with Tiger Mail since the mbox format has been improved over previous Mail.app versions but there is still a recommended mailbox size limit (2GB) with Tiger Mail.
    Quit the Mail.app first and using the Finder go to Home > Library > Mail > this POP account named folder (named by the user name and incoming mail server for the account) > INBOX.mbox.
    Move the INBOX.mbox to the Desktop.
    Launch Mail and a new INBOX.mbox will be created automatically by Mail within the account named folder.
    This will allow the Mail.app to function properly again while working on the old INBOX.mbox moved to the Desktop to recover the existing messages.
    Control-click on the old INBOX.mbox moved to the Desktop and at the menu window that appears, select Show Package Contents.
    List the package content file names and size each here.
    This information is required to determine the next step to take to recover the existing messages.
    For future reference, since an account's Inbox mailbox is usually the most active mailbox and more prone to minor corruption over time, it is not a good idea to use an account's Inbox mailbox as the final storage location for all received messages not deleted.
    Better to utilize user created "On My Mac" location mailboxes to sort received messages by category.
    Before upgrading to Tiger Mail, I didn't allow any mailbox to exceed 500MB or so in size, used the Rebuild Mailbox function on the most active mailboxes on a regular basis (once a month or so depending on activity) and I never experienced an overstuffed mailbox issue.

  • Photo albums not deleting from my iphone 6

    Photo albums not deleting from my iphone 6 even after i remove them from itunes. plus it shows as others in the storage. how to remove the albums ? i removed them from the itunes linked folders though it still shows on the iphone !!!

    If they were placed on the phone using iTunes sync, the following from iTunes: Syncing photos has instructions on how to remove them. If that doesn't work it is usually because they were added from another computer. Many have reported success by first adding one or two new photos to the phone via iTunes sync using the instructions in the above link and then syncing again using the delete instructions below.
    To delete synced photos and videos from your device
    In iTunes, click the Device button in the upper right corner. (If viewing the iTunes Store, click the Library button in the upper-right corner first.)
    Click the Photos tab in the resulting window.
    Choose "Selected albums" and deselect the albums or collections you want to delete.
    Note: To delete all synced photos, deselect "Sync Photos from" and, when asked, click "Remove photos."
    Click Apply.

  • Comcast email not deleting from server

    Under the "advanced" section I have my email set to remove from server when removed from inbox. Well, this does not happen! Is this an ATT issue or a Comcast issue?
    If I use the Comcast app and delete email, it IS deleted from the server.
    Thanks!

    I think more of a Mail application issue or a Mail application issue only.
    This doesn't resolve the problem, but although a POP account can be accessed with more than one email client, a POP account is designed to be accessed with a single email client only. This isn't a problem with an IMAP account which is designed for this very thing.
    Which Comcast app are you referring to? Is there a Comcast app via the iTunes app store? If so and you want to ensure messages are deleted from the server after being accessed with your iPhone, you need to use the Comcast app.

  • Message "not downloaded from server. You need to take this account online

    After upgrading to 10.4.9, when I click on any of the old emails in my inbox I get the message "this message not downloaded from server. You need to take this account online in order to download it."
    I can still read all email in any other mailbox.
    I can read all email received after upgrading.
    I appreciate any help.
    G4 17 inch   Mac OS X (10.4.9)   1 gb ram

    You upgraded to 10.4.9 from what?
    If you upgraded from Mac OS X 10.3 or earlier, the problem is that the conversion from Mail 1.x to Mail 2.x is broken. Take a look at the following thread to better understand the problem:
    Help! "You need to take this account online in order to download it."
    More specifically, if this is a POP account, the following procedure should allow you to fix the Inbox problem. A similar procedure should allow you to fix other mailboxes that might also be affected:
    1. Quit Mail if it’s running.
    2. Make a backup copy of the ~/Library/Mail folder, just in case something goes wrong while trying to fix the problem. You can do this in the Finder by dragging the folder to the Desktop while holding the Option (Alt) key down, for example. This is where all your mail is stored.
    3. Create a new folder on the Desktop and name it however you wish (e.g. Inbox Old). It doesn’t need to have an .mbox extension.
    4. In the Finder, go to ~/Library/Mail/POP-username@mailserver/INBOX.mbox/.
    5. Move the files mbox and Incoming_Mail out of INBOX.mbox, into the Inbox Old folder just created on the Desktop. These files contain all the messages that were in the mailbox before the upgrade to Tiger, and maybe even some messages that had been deleted. mbox is the most important. Incoming_Mail may or may not be present.
    6. Move any strangely-named Messages-T0x... folders to the Desktop (not into the Inbox Old folder). These folders are to be deleted after fixing the problem. They are temporary folders created during an import or an indexing process, and Mail should have deleted them when done. Their presence is a clear indication that something didn’t work as expected. If you’ve been using Mail after the conversion and have already tried to fix the problem by rebuilding the mailbox or something like that, they might contain messages that are neither in Messages proper nor in the mbox file, so keep them around until the problem is fixed.
    7. Move everything else within INBOX.mbox, except the Messages folder, to the Trash.
    The result of the above should be that INBOX.mbox contains the proper Messages folder only, and the Inbox Old folder on the Desktop contains the mbox and Incoming_Mail (if it exists) files only. Now, proceed as follows:
    8. Open Mail.
    9. The account’s Inbox should properly display in Mail as many messages as *.emlx files are in ~/Library/Mail/POP-username@mailserver/INBOX.mbox/Messages/. If that’s not the case, select the mailbox in Mail and do Mailbox > Rebuild.
    10. In Mail, do File > Import Mailboxes, choose Other as the data format, and follow the instructions to import the Inbox Old folder that’s on the Desktop.
    As a result of doing the above, some messages may be duplicated now. Andreas Amann’s Mail Scripts has a Remove Duplicates script that you may find useful.
    Do with the imported mail whatever you wish. You may move the messages anywhere you want and get rid of the imported mailboxes afterwards.
    If all is well and you don’t miss anything, the files on the Desktop can be deleted, although you may want to keep them for a while, just in case.
    Take a look at the following article (also referenced in the thread I mentioned at the beginning of this post) to learn what you might have done before upgrading to minimize the risk of this happening, and what you may do after fixing the problem to avoid similar issues from happening in the future. DON’T do now what the article suggests, though, as that would make things worse in the current situation:
    Overstuffed mailbox is unexpectedly empty
    Ask for any clarifications or if you need further assistance.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder, i.e. ~/Library is the Library folder within the user’s home folder.

  • Please help! My Itunes says corrupt file and will not open (IMac 2010). I couldn't fix it by reinstalling so I moved it to trash. It will not delete from my trash as it is saying "Japanese.lproj" is in use. I can't delete or open to close it, what do I do

    Please help!
    My Itunes says there is a corrupt file and will not open (IMac 2010). I couldn't fix it by reinstalling ITunes so I moved ITunes to trash. It will not delete from my trash as it is saying "Japanese.lproj" is in use. I have never opened or used "Japanese.lproj". I can't delete ITunes or open ITunes to close the Japanese.lproj, what do I do? Thank you for any help you can provide..

    It will not delete from my trash as it is saying "Japanese.lproj" is in use. I have never opened or used "Japanese.lproj".
    Interesting. This sort of thing is more common on Windows systems. Taken at face value, one of the iTunes program files (one of the Japanese language resources) is damaged.
    I'd try running your Disk Utility over your startup disk. Does it find/repair any damage? If so can you empty your trash and reinstall your iTunes successfully now?

Maybe you are looking for

  • How to get dynamic select options from logical database?

    Hi, in one of my extended reports (means - overwritten standard SAP functionality in Z-namespace) I'm using LDB 'DDF'. I've been requested to validate some of the dynamic selection options (for example - field HKONT at Document level) and to split th

  • Downloading iTunes upgrade 7.1.1

    please help. for a few months now everytime i open iTunes it tells me there is an upgrade available which I have tried to download several times with no luck. now i have just bought a new iPod shuffle and cant use it! Everytime I try to download 7.1.

  • Which gl account will be assigned

    hi in account determination EK02   main tran - 3000 down pmt                                                 sub-tran - 0051 down pmt at request, ind cust which gl account can i assign ?

  • Duplicate audio track

    Hi, I have a video clip that when I dropped it in my timeline dropped video and audio on only A1. I need two audio tracks and I have unlinked the video from the audio and tried to copy and paste it into the timeline on the A2 track to no avail. I've

  • How to sincronyse clock

    my iphone is not syncronizing with the computer clock. I can't change time and date on the iphone