AQ Question how to go about please advise

Thanks. The issue with message grouping is that what do we do if more messages for the same order get added to the queue. This will not be part of the group and thus might get picked up by some other thread.
As of now, one message belongs to one transaction.
This is one approach I was thinking:
This option involves creating a custom table.
This table will store all order#s that are being processed at any given point in time, such that no other thread can pick up a mesg for the same order. Once the message for a specific order is processed, the order# is removed from the custom table.
Thanks again!!!
Given below is a high level approach:
Step 1. Peek and reserve - peek for an order in queue that is not in custom table (dequeue in locked mode with a condition). Reserves available order. (separate transaction)
Step 2. Dequeue mesg for the order# reserved in previous step, with min enqueue time (dequeue in remove mode with a condition).
Step 3. Clean custom table - separate transaction
Say we have the following orders and 5 threads
100
100
100
101
102
So all threads try to deq a mesg. Say 3rd thread is the first one to deq order 100 (LOCKED mode). It will write this to custom table and commit transaction. SInce we will have a deq condition to ignore all orders that exist in custom table, no other thread will be able to pick up order 100. Order# is primary key on custom table.
Now we will deq with condition :- order# 100 and min enq time for order 100
once mesg deq. Clean custom table.
Any thoughts???
Thanks. Is it ok if I call you at 10pm EST. If not, what time is convenient, I will call then. Thanks a lot for helping me out with this. Really appreciate!!!!
Sangeeta
This is the background incase if we need to know the entire story of the issue:
Thanks Sri. I did find this bug, but the customer is still leaning to go with triggers. They tried a few test cases with the trigger on the queue table and since they did not hit any issues, they would like to know in what situation the trigger will cause an issue.
Client wants to implement the following:
Consider there are multiple messages in the queue belonging to the same corr id.
If one thread dequeues a message (say for corr id 100), all other messages belonging to the same corr id should get locked, such that none of the other threads can dequeue those. But these threads should continue processing messages belonging to other corr id's.
Messages need to be processed in the order they were enqueued.
Only after the first message for that corr id gets processed, should the next message for the same corr id get processed, this in turn locking the remaining with the same corr id.
If any new messages for the same corr id get enqueued, then they too should get locked.
Performance is a very important factor for this application.
Any thoughts on how to implement this would be greatly appreciated..

UCCE is an umbrella solution that includes ICM (central controllers, PGs, AW, HDS) as ACD, then you have CVP as the IVR working with VXML GWs, CUCM as PBX, CUIC for reporting (or 3rd party), Finesse or CTI OS, or CAD for agent desktop, optional CUSP as SIP proxy and bunch of 3rd parties if needed for call recording, workfrce management, wallboard, etc, etc.
ICM can also run outside of UCCE integrated with 3rd party ACDs, but this is more rare in recent years.
HTH, please rate all useful posts.
Chris

Similar Messages

  • How to code this - Please advise

    Dear friends,
         Please advise as how to code the below scenario in order to obtain the best performance.
    I've an internal table IT_BSAD.Now I've to check if in the combination of bukrs,augbl,auggj,kostl,prctr,gsber,aufnr, if there is a single record in IT_BSAD, then it should be appended to IT_BSAD1 & if there are multiple records, then those should be appended to IT_BSAD2. In any case IT_BSAD1 & IT_BSAD2 should not contain duplicate records & records in IT_BSAD = records in IT_BSAD1 + Records in IT_BSAD2. I coded it somehow but it hangs in case of million of records. Please advise me the best way of doing it.
    I'll appreciate any help in this regard.
    Thanks:
    Gaurav

    prepare a sorted table with key bukrs,augbl,auggj,kostl,prctr,gsber,aufnr
    loop it_basd assigning <fs_basd> .
    at new sufnr.
    lv_index = 0.
    endat.
    " move the fields to it_basd1 work area
    "append it_basd1
    lv_index = lv_index + 1.
    if lv_index > 1.
    if lv_index = 2.
    read it_basd1 into iwa_basd2 with key  bukrs,augbl,auggj,kostl,prctr,gsber,aufnr.
    append iwa_bsad2 into it_bsad2.
    delete from  it_basd1 where  bukrs,augbl,auggj,kostl,prctr,gsber,aufnr.
    endif.
    " move the fields of <fs_basd> to it_basd2 work area
    append iwa_bsad2 into it_bsad2.
    endif.
    endloop.
    hope this will help
    Nafran

  • TS4066 my mail application deleted unacceptably. need to retrieve mail icon in dock. how to do ? please advise

    My Mail application deleted unacceptably, Need to retrieve mail application. please advise the way, thanks

    Is it the application itself that was deleted from the /Applications folder of is it the icon on the dock that got deleted?
    If it is the icon just drag it back from the Application folder to the dock. If if is the app you will need to get the application off your install disks. You could either re-install the OS or use something like Pacifist to get the mail application off the disk.

  • HT4623 my ipad 2 does not have an UPDATE SOFTWARE button in GENERAL SETTINGS below About. please advise about me HOW TO DOWNLOAD iOS ??

    I have an ipad 2. Under settings...general...below about there is NO software update button.
    I really need iOS .. how do I download this to my ipad??

    You only have the option if you are already running iOS 5. If you are trying to update the iOS, you have to use iTunes on a computer to update the iPad.
    Instructions here for all iOS versions. Make sure that you go down to the section about using iTunes. The first part of the article only applies to you if you are already running iOS 5.
    http://support.apple.com/kb/HT4623
    Or you can connect the iPad to the computer, launch iTunes. Select the iPad under the devices heading on the left, click on the Summary tab and then click on Check for Update

  • How to fix ? please advise: In Adobe LiveCycle ES2, JBOSS(4.2.1.GA) node unable to join cluster after restart.

    Hi Team,
    We are using Adobe LiveCycle ES2, JBOSS(4.2.1.GA)  on windows OS.
    We are facing issue after every time we restart JBOSS. JBOSS node after restart is coming up but unable to join the cluster.
    We are getting below error in the jboss server.log:
    2014-07-18 00:25:37,206 WARN [org.jgroups.protocols.pbcast.GMS] join(10.183.100.39:61469) sent to 10.183.100.39:64118 timed out, retrying
    2014-07-18 00:25:44,206 WARN  [org.jgroups.protocols.pbcast.GMS] join(10.183.100.39:61469) sent to 10.183.100.39:64118 timed out, retrying
    2014-07-18 00:25:51,206 WARN [org.jgroups.protocols.pbcast.GMS] join(10.183.100.39:61469) sent to 10.183.100.39:64118 timed out, retrying
    2014-07-18 00:25:58,207 WARN [org.jgroups.protocols.pbcast.GMS] join(10.183.100.39:61469) sent to 10.183.100.39:64118 timed out, retrying
    2014-07-18 00:26:05,207 WARN [org.jgroups.protocols.pbcast.GMS] join(10.183.100.39:61469) sent to 10.183.100.39:64118 timed out, retrying
    Could you please help to advise on this.
    Thanks.

    My apologies about the wall of text. After I made my original post, I thought maybe it would better to go back and put it in a pastebin instead. I was not able to edit that post once I sent it.
    In regards to your question, the  permissions on the
    /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist file is "read and write" for system, wheel and everyone.

  • I no longer have access to the email address that is stipulated as my rescue email address and I cannot remember the answers to my security questions. Please advise how I go about changing / updating the answers to the security questions.

    I no longer have access to the email address that is stipulated as my rescue email address and I cannot remember the answers to my security questions. Please advise how I go about changing / updating the answers to the security questions.

    Contact iTunes Support:
    http://support.apple.com/kb/HT5699?viewlocale=en_US
    or by email:
    https://ssl.apple.com/emea/support/itunes/contact.html
    Cheers,
    GB

  • Hello again, I'm still learning about my imac so here I go with latest question- I've installed word 2011 and would like to know how to email the document I have just written straight to a recipient but can't seem to find how to do this. Please advise

    Hello again, I'm still learning about my imac so here I go with latest question- I've installed word 2011 and would like to know how to email the document I have just written straight to a recipient but can't seem to find how to do this. Please advise in simple terms
    Also how do I save to a file.
    Thank you clever world!!

    To save you file click the disc icon in the tool bar or file save as:
    To email the Word document to someone compose a new message and click the paper clip to attach the Document.

  • The screen is frozen while installing software updates. Say about 2 minutes and it has been more than hour. How can I cancel or do something about it? Is it ok to unplugg it? Please advise.

    The screen is frozen while installing software updates. Say about 2 minutes and it has been more than hour. How can I cancel or do something about it? Is it ok to unplugg it? Please advise.

    Really?
    Is there no other option? No magic key combo that brings up a secret menu?
    My imac just froze during a software update install and I too do not know what to do.

  • Question about Page Builder behavior - how to get a "please wait message" ?

    Hi all together,
    I got a question about Portal Framework / Page Buider handling iView Integration.
    We are working with a lot of App Integrator iViews and often the pages includes with app integrator are loading longer than the rest of the portal. So there is the idea to put in a "please wait while loading message" for the enduser.
    I analysed the html code, the page builder is generating and foud out 3 diffrent approaches how the page buider is rendering the IFRAME with the integrated application configured with an app integrator iView.
    My question is how can I influence this behavior to put a "please wait while loading message"?
    Different types of iView integration in the client I have seen:
    a) direct loading of the content in the IFRAME (<iframe id="" ... scr="/mysource">)
    b) Filling the iframe with 'about:blank' and loading the content later by filling a form with JS
         ( <iframe id="" .... scr="about:blank">and after the iframe  <form id="" action="mysource" ...>
    c) Filling the iframe with a html file from the portal layout and loading the content later by filling a form with JS (similar to b)
         ( <iframe id=""" ....scr="/irj/portalapps/com.sap.test.mylayout/html/blank.html>
    I checked that variant b) is getting generated when loading a page with different components on the side (not only the app integrator iview) and variant c) is generated when just one app integrator iView is positioned (no portal page).
    Goal: To get the "please wait picture" I want to know how to get variant c) in cases of different elements on one page
    So I would be able to put this picture on the HTML-Page in the Portal layout (blank.html)
    Hope, someone with a deep portal / page builder know-how can help me out!
    Another way: Does anybody knows another way how to put a "please wait message" while app integrator application is not loaded yet?
    Thanks in Advance and kind regards,
    Jens
    Edited by: Jens Kohne on Nov 24, 2010 9:08 AM

    Hi Jens,
    there are several reasons why you don't get the loading animation:
    Web Dynpro ABAP: https://service.sap.com/sap/support/notes/1432358 -> missing configuration
    Wrong height size for iView: https://service.sap.com/sap/support/notes/1358494 -> alter configuration of the iFrame height (loading animation gets displayed, but is hidden)
    FPN, BSP, BEx: https://service.sap.com/sap/support/notes/1290995 -> AI isn't showing the animation because of performance considerations. I guess that is your case. Depending on your portal version this is a simple service configuration or involves some customization.
    br,
    Tobias

  • HT204150 I have recently switched to the latest i-phone. my contacts are updated by i-cloud between phone and mac laptop.there are only about 720 contats showing on phone from app. 1250 on the computer. please advise how to correct phone

    I have recently switched to the latest i-phone. my contacts are updated by i-cloud between phone and mac laptop.there are only about 720 contats showing on phone from app. 1250 on the computer. please advise how to correct phone

    On the mac, only contacts in the "iCloud" section will sync to other devices.  Those in the "On my mac" section do not.  Could that be your problem?
    To test the icloud situation, log into icloud.com with your mac's safari and to to the contacts page.  What you see there is what icloud has received from mac and iphone. 

  • After upgrading my iphone 4 to io6 i started loosing the historical sms messages from some senders including new ones received as soon as I open the message app. I am not happy with io6. please advise how i could downgrade to io5.1.1.

    After upgrading my iphone 4 to io6 i started loosing the historical sms messages from some senders including new ones received as soon as I open the message app. I am not happy with io6. please advise how i could downgrade to io5.1.1.

    I have read a number of other threads regarding the loss of Messages, however, I am not aware of the reason it is happening. Check on the right side of this message under more like this and see if you can find an answer.
    As to your question about downgrading software, there is no Apple supported method for downgrading software.

  • HT4236 Syncing photos using iTunes in windows revealed this error message "iPad Jayvee cannot be synced because it cannot be read from or written to ." Please advise asap how to resolve the issue.  Thanks!

    Please advise how to resolve error message - cannot be synced because it cannot be read from or written to.

    Hello Janet,
    I would recommend this article named 'Disk cannot be read from or written to' when syncing iPod or 'Firmware update failure' error when updating or restoring iPod found here http://support.apple.com/kb/ht1207
    Outdated operating system software
    Make sure you have the latest updates for your operating system, which may include improvements for device connections. For example, many USB and FireWire improvements have been included in Windows Service Packs.Check for Mac OS X downloads. Check for Windows updates.
    Computer needs updates
    Make sure you have the latest updates available for your specific computer model (or components for home-built PCs). These are usually available for download on the support website for the maker of the PC (or component). Many USB updates are listed as "Intel chipset" or just "chipset" updates on PC manufacturer's support and download websites.
    Software interference
    Some software can interfere with iTunes, making it unable to write files to your iPod. Think about what software you have installed, and try disabling any add-ons that might be interfering with iTunes. Check your suspected software's documentation or contact the software maker if you need assistance with disabling the application. Out-of-date or incorrectly configured security software frequently causes this issue. See these steps for identifying and troubleshooting third-party security software.
    Damaged files
    If one of your music files or photos is damaged, iTunes may display one of these errors when transferring that file to the iPod. If you identify a file that is causing the error, try deleting that file and reimporting it from a backup file or from the original source. You may be able to repair files by repairing the disk (see the solutions in the next section).
    Unregistered .dll files (Windows)
    Malware or other software may cause an issue with the digital signing of Windows XP drivers. First try restoringthe iPod using the latest version of iTunes.. If you are unable to restore it or the symptom reappears, follow the steps in this document.
    Damaged disk structure
    These errors can also appear if the format of your computer's hard drive or your iPod disk is damaged.
    To repair your computer's hard disk—Mac OS X users, read this article for instructions. Windows users, search the Help system in Windows for chkdsk to get more information on checking and repairing the disk structure.
    To repair an iPod disk—Restore the iPod or iPod shuffle using the latest version of iTunes.
    Warning: Be sure to back up your data before restoring an iPod. The restore process cannot be undone. All of your songs and files will be deleted.
    Corrupt iPod photo Cache
    If you're getting the error when transferring photos to an iPod photo, try deleting the iPod photo Cache and then starting the photo sync again.
    Lost connection
    Make sure that the connections from your computer to the iPod are snug and do not wiggle or come loose during transfers. For example, if you use the wrong size dock for your iPod, it can put strain on the connectors and cause a bad connection. See these articles for more information:
    Learn about iPod Universal Dock
    iPod Dock: Specifications
    Conflict with third-party hardware
    Third-party USB or FireWire devices may also interfere with iTunes' ability to communicate with your iPod. Remove all USB and FireWire devices except the keyboard and mouse before reconnecting your iPod to the computer.
    Bad hardware
    Hardware failure or non-compliant hardware can cause these errors. This could be an issue with iPod hardware or with the cable or dock you're using, but more often it's an issue with the USB or FireWire card or interface in your computer. Some USB and FireWire interfaces just don't work very well. If you isolate the issue to the USB or FireWire interface in your computer, you may want to try a different port, get the computer serviced, or replace the card or interface with a better one.
    If you isolate the issue to an Apple-supplied cable or dock, or the iPod itself, you can get it serviced here.
    Take care,
    Sterling

  • TS2634 I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I have the same problem.
    Two similar discussions:
    https://discussions.apple.com/message/23081658#23081658
    https://discussions.apple.com/message/23281391#23281391
    I have not yet seen any official response to the question: "Is the Apple AV Composite cable fully supported with 30pin connector devices upgraded with iOS7 - specifically ? - eg. iPad 2, iPhone 4, iPhone 4s"
    If it is not currently supported is that then due to a bug / oversight and in that case is it something that will be fixed in the near future?
    Please let us know what feedback you got from asking Apple support.

  • Hi, I'm unable to use my speaker when I'm using Mac OS. However, I'm able to do so for Windows 7 OS on Bootcamp. Can anyone please advise on how to rectify this problem? I would greatly appreciate your help, thank you.

    Hi, I'm unable to use my speaker when I'm using Mac OS, which means I'm unable to unmute, decrease or increase the volume. However, I'm able to do so for Windows 7 OS on Bootcamp. Can anyone please advise on how to rectify this problem? I would greatly appreciate your help, thank you.

    Hi Zac, sorry to hear about your troubles, but that's why us other users are here to try to help in these instances.
    Open Console in Utilities & see if there are any clues or repeating messages when this connection drop happens.

  • Final Cut Pro X keeps freezing when sharing my work to You Tube, it does about 90% of the upload and then seems to get stuck.  Any ideas on how to resolve this please?

    Final Cut Pro X keeps freezing when sharing my work to You Tube, it does about 90% of the upload and then seems to get stuck.  Any ideas on how to resolve this please?

    this is a perfect question to ask the users in the FCP X forum.  Good luck.  https://discussions.apple.com/community/professional_applications/final_cut_pro_ x

Maybe you are looking for