Parsing the 'in process' messages

          We have a requirement that the messages for the same user should not be processed
          concurrently. The issue we are facing is how to detect that the user on the currently
          processing messages (that is, the message has been taken off the queue, but the transaction
          has not yet completed). The messages that reside on the queue we use the browser
          to detect the user. We have estimated that our transactions could take up to 20 minutes
          to complete, so the need to prevent listeners from taking the messages off the queue
          for the same user that is currently being processed is essential. Any help will be
          appreciated.
          

Still need more detail.
          How many total users enqueuing messages?
          Can the individual users be prevented from having outstanding messages?
          What are the listeners? MDBs?
          Are the messages persistent?
          What is the average message size?
          What is the peak messages enqueued per second?
          What is the peak messages dequeued per second?
          Two possible approaches:
          1) If message rates are low, and you know the amount of time
          it takes to process a message: Have a forwarder MDB at the end
          of the queue that tracks what messages are in progress and forwards
          work to a worker queue. If a message is received for an in progress
          user, the forwarder MDB re-enqueues the message to itself with a delivery time
          set in the future. When a worker completes, it signals the
          forwarder that that user is available...
          2) Each user gets own queue. User's process forwards from own queue
          to the main queue only when it gets a response message from the
          server that its previous job is complete (request/response with local queue).
          Eugenia wrote:
          > There could be 100's of users on the queue at a time. It is running in clustered environment,
          > so there will be several servers with listeners.
          > Thanks,
          > -Eugenia
          > Tom Barnes <[email protected]> wrote:
          > >how many users?
          > >
          > >how many servers process messages?
          > >
          > >Eugenia Perelman wrote:
          > >
          > >> We have a requirement that the messages for the same user should not be
          > >processed
          > >> concurrently. The issue we are facing is how to detect that the user
          > >on the currently
          > >> processing messages (that is, the message has been taken off the queue,
          > >but the transaction
          > >> has not yet completed). The messages that reside on the queue we use the
          > >browser
          > >> to detect the user. We have estimated that our transactions could take
          > >up to 20 minutes
          > >> to complete, so the need to prevent listeners from taking the messages
          > >off the queue
          > >> for the same user that is currently being processed is essential. Any
          > >help will be
          > >> appreciated.
          > >
          

Similar Messages

  • What are the best ways (for best performance) in MII to process the incoming process messages from shop floor systems to SAP ECC 6.0 and vice versa?

    Hi All,
    Can you please suggest to choose the best ways (for best performance) in MII (12.2 on NW 7.3), to process the incoming process messages from shop floor systems to SAP ECC 6.0 and vice versa?
    Thanks

    Hi Surya,
    Best practices for flow of data from ECC --> SAP MII --> Shop floor & Vice verse:
    1. Send ECC data through IDOC's/RFC's as messages to SAP MII message listener and BSL transaction process data and update directly on shop floor database as if you configured in Data services or later send those data by web service to shop floor system (i.e. depends on Shop floor machines).
    From Shop floor:
    shop floor --> SAP MII --> ECC
    1. Use either Web service or fetch data from DB and pass data to BAPI's  for sending to ECC through BLS transaction.
    Regards,
    Praveen Reddy

  • How to restart the Successfully processed messages

    Hi,
    I have IDOC to File Scenario
    we posted the idoc from R/3 and it has processed successfully.
    Now again i want to process that idoc again with out going to R/3.
    How to restart the Successfully processed message from MONI.
    we have one option in MONI Restart. this is not working for Successfully processed messages.
    How to achieve this
    Regards
    Suman

    Hello Suman..
    XI: Restarting successfully processed messages..
    Go through this : Michal Krawczyk Blog This will really helpful to you..
    /people/michal.krawczyk2/blog/2005/11/09/xi-restarting-successfully-processed-messages
    Reward Points If it is Helpful...
    Thanks,
    Satya Kumar..

  • Restrating the successfully processed messages------Not Working

    Hi All,
    i have Followed this Blog and Copied that STD program to Z program After that
    Commented those Two mentioned lines in the Report also and activated
    /people/michal.krawczyk2/blog/2005/11/09/xi-restarting-successfully-processed-messages
    While Executing the Report in Se38 by proving the Message ID, iam getting this Error
    Selected message does not exist (any more)
    Regards
    Suman
    Edited by: Suman gupta on May 9, 2008 9:49 AM

    Hey
    >>Selected message does not exist (any more
    This is the issue,you don't have that message anymore hence you can't resend it(it does not matter if its successful or un-successful).
    when you normally try to send the successful message(without changing the ABAP code,you should get a message as below
    "You cannot restart XML message <MessageID> with this status/type"
    try to send another message and see if its successful and then modify the ABAP code and resend that successful message.
    Thanx
    Aamir

  • Resending the successfully processed messages

    Hi,
    I am trying to process one message which is already succesfully processed.
    Is it possible?
    Please treat this as an urgent.
    Thanks & Regards
    Katta Mohan Reddy

    Hi,
    If i am not wrong, U are trying to restart the message that has been successfully processed. (from sxmb_moni with a black& White Flag)
    <b>You cannot restart correctly processed XML messages</b>
    Moreover,
    You can only restart asynchronous XML messages.
    Furthermore, you can only reschedule XML messages with errors. You cannot restart correctly processed XML messages or XML messages with the status Being Processed.
    Do not forget to give me points if this solves your problem.
    Cheers,
    Siva Maranani

  • "Exception Processing Message" error when clicking the Accessing Server Data link on the start page

    When I first started the application, I click the Accessing Server Data link on the start page.  I immediately got the error "Exception Processing Message c0000013 Parameters 75b6bf7c 4 75b6bf7c 75b6bf7c in a dialog box titled "Windows - No Disk".  I had to used Task Manager to remove the box after closing Flash Builder 4.  I then tried the video tutorial on "PHP Services in Flash Builder 4".  I keep receiving an error during service introspection trying to connect to the PHP class.  It was the same error as the other individual "Cannot Connect to PHP Service".  So I tried another tutorial and generated a sample PHP class.  I moved a datagrid on to the stage, droped in the getAllItems function, and configured the return type.  However, when I ran the app, I received the same error "Exception Processing Message" again.  I have attached the screenshot of the error in addition to my phpinfo and log files.

    "The exception process message" is definitely a issue. Is it happening consistently, if so can you file a bug at bugs.adobe.com/flex and give out your machine config details, and the error log.
    With regards to generating a new php file and the introspection error that you are getting, looking at the logs it probably is two fold.
    First off the name of the file and the class name should be the same, are you having employeeServices as the name of the class in employeeServices.php file.
    Second, It seems prior to generating this new file, you had a syntax error at line 5.
    It would be easier to figure out what the error is, if you can also attach the php file, by removing any sensitive information in that.
    Hope this helps.
    Thanks
    -Sunil

  • How to parse the URI in ESB?

    Hi,
    Can we parse the stream of message sent as a "URI"?
    Basically from the remote machine PIPServelet is receiving a stream of message in the form of URI.
    as https://xxx.xxx.xxx:5555/<XMl>message_stream</XML>
    Message_stream : Any PIP or EDI sets.
    Now I need to parse this URI and read it and further process it in ESB and sent to the destination system.
    How can we parse that URI?
    Can anyone please help me on this?
    Thanks
    Ramana.

    Actually, the Business Partner Data is almost empty for employees in my use case.
    So only the Employee Data is maitained. So if I query the Business Partners, I find no AdressInformation at all. Neither AdressSnapshot; they are both empty.
    Anyway, when I tried to implement the BusinessPartnerInternalID, it seems the email is sent.
    But even if I have the confirmation message "email sent", I see nothing in my mailbox.
    I thought it was due to the Business Configuration redirecting everything to a single address (as I am on a test tenant). So I did change it to "Send email to business partners", but nothing happens.
    Does somebody know how we can check where the email is going?
    Thank you very much for your attention Uldis.
    Best regards.
    Jacques-Antoine

  • How to Cancel Succesful Processed Messages

    Hi Experts,
    How to cancel the succesful processed messages which reached Integration Server and sender Adapter engine in XI.
    Thanks
    Venkat Anil

    We cannot cancel Successfully processed messages.
    However you can configure Archiving and/ or deletion of successfully processed messages to remove the entry from the DB
    Edited by: abhishek salvi on Jan 8, 2010 2:57 PM

  • Process instruction characteristics and process messages

    Hi,
    Can anyone tell me why process instruction characteristics is required when only process message characteristics are displayed in PI sheets (input or output).
    Regards
    Joe

    Hi,
    Answer is already there in your question.
    and that is
    (input or output)
    Now you creates the one Process Message characteristic let's it is Temperature.But how it's value comes in the PI Sheet (As Ouput or Input manually by user) that is decided by that Process Instruction Characteristic.
    Now when you creates the Process Instruction Category (O12C) except type 0 you have choice of creates it by using help of Process Assistant.This Assistant assigns the Process Instruction Characteristic to the process Massage Characteristic automatically when you select the specific radio button or Activate the check box during that PI category creation.
    For Example when you creates the PI category Type 2 using Assistant.Here after naming first screen comes to you is to define type of Process data Request.Here when you select the radio Button for Simple process data request then indirectly you assign the process Instruction characteristic PPPI_DATA_REQUEST_TYPE and its Value comes as Simple.
    But when you create the PI category type 0 you have to assign this PI Characteristic manually because its Universal Category and there is no assistant which helps you.
    Regards,
    Dhaval

  • "Errors found during the burning process"

    Hello,
    I created an iDVD project that includes:
    1. 108-minute movie
    2. 6-minute movie
    3. 3-minute movie
    4. 12-minute slide show (3 four-minute slide shows)
    The project worked fine in the iDVD Preview. I then attempted to burn the DVD right from iDVD, and after 8 hours of encoding, I got the "Errors found during the burning process" message.
    I've read so many posts here with a hundred different possible solutions, but what is the best place to start to try to determine what the errors are and how to fix them?
    Following one suggestion, I am now creating a Disk Image first, but if errors still exist with a Disk Image, what do I do then?
    I'm working on a Powerbook G4 with the iLife upgrade. Thanks for any advice.
    Larry

    Larry,
    Here's my philosophy on iDVD troubleshooting, largley based upon my experience here at this forum, with heavy doeses of input from Ken Tidwell, Len Goff, Old Toad, F Shippey, with more recent input from SDIllini, Hui Cheng, and Beverly M.......
    #0 - always use "Save as Disk Image" instead of burning when troubleshooting iDVD
    #1 Try the easy usual suspect fixes first! After all if these don't work you can always try the hard fixes!
    Check the list on this download:
    http://dvd.kentidwell.com/iDVDUOFAQ2005.pdf
    But here are easy solutions IMHO:
    Get free space on the startup drive -20GB recommended
    Delete the iDVD plist file com.apple.iDVD.plist
    Repair Disk Permissions
    Clear Cache Files (CacheOutX, TigerCacheCleaner, Onyx)
    Do you have 12 bit audio - check your camcorder.......if not 16 bit you will have problems
    Fix Chapter Markers-don't put one at the beginning in iMovie (iDVD will do it for you)
    Chapter Markers - don't put one at the end.
    Chapter Markers - don't put one within 2 secs of a transition
    Delete other corrupt preference files (try using Preferential Treatment)
    #2 When the easy fixes don't work, you need to divide and conquer. The suspects are your a) your project media, b)your hardware, c)your system/user preferences, d)iDVD.
    A good test for a&d is to build a simple test project with other photos/movies/themes/audio and see if you can "save as disk image" the test project. The iDVD4 tutorial project is great if you've ever had iDVD4 installed on your machine. If this works it suggests that iDVD is working OK, and that something in your project is causing the hiccup.
    The most common problems in projects are CMs, audio and transitions. One way that sometimes clears them up is to export to full quality DV (or to tape!) and re-import into iDVD. In slideshows, funny JPEGs can bring iDVD down. The only method here is to try different groups to find the bad actor.
    OK let's assume that you can't burn (I mean "Save as Disk Image") the test project or the tutorial. This suggest that your hardware/system/iDVD is having problems and your project is probably fine. Then what?
    c) Hardware: if you can make a disk image but can't burn it, or it plays badly, then try creating a data DVD - if you can't do that I'd suspect your DVD drive. Try different brands of DVD-R (and I'd stick to -R, not +R nor +RW), I like Verbatim. Next on the suspect list is RAM. iDVD is the best test for RAM known to mackind. Try pulling non-Apple supplied modules and try again.
    OK, let's assume you can make data DVDs, but you can't make a good disk image, and you've tried pulling all non-Apple RAM. What next?
    Try creating a new user. New users have more limited sets of fonts and all new preference files and caches, not only for iDVD but for everything, and few (if any) third party plug-ins installed.
    Finally try reinstalling iDVD.......
    If you've done all this, a new system install might be in order, but come here first for advice from others before going that far!
    john b

  • How to look at inter-process messages

    Automator has Mail actions called "Get Selected Mail Messages" and "Get Attachments From Mail Messages", etc. It's easy enough to view Mail's dictionary in Applescript Editor and guess what it is doing, but it would be more direct to watch the message flow. Is there some utility to "watch" the inter-process messages that go between applications?

    A good idea. I look at the logs for many things, but didn't think to for this.
    In system.log, all I see related to Automator or Mail are events unrelated to what I am doing and they look like:
    Automator[3268]: The action “Initiate Remote Broadcast” could not be loaded because the application “QuickTime Broadcaster” was not found.
    Mail[554]: Periodic CFURLCache Insert stats (iters: 2003) - Tx time:0.004129, # of Inserts: 1, # of bytes written: 43, Did shrink: NO, Size of cache-file: 17963008, Num of Failures: 0
    similar results looking at Console Message or All Messages. Nothing new appears in the logs if I run the Automator workflow. I do see every NSLog() message issued by the programs I am writing, so maybe Automator and Mail do not NSLog anything.
    Is there any process running that handles IPC or is it direct communication?

  • Send Process Message CO60

    Hi people,
    Somebody knows if there is a way to send a process message on save of PI sheet intead send it on "complete"?
    The user wants to send the messages on save because he may want to create another lines on it, and if we send it only on "Complete", the PI sheet gets closed and we can't change it anymore..
    tks

    Hi people,
    The post Process messages  solved my problem.
    tks

  • XOQ-01703: error during parse of build process script: (clear, compile)", "

    Hi All ,
    I was just clearing the dimensions using the below in SQL commandline throwing below error . However this works fine with my another 5 dimensions .Any advice ?
    SQL> exec dbms_cube.build('POSITION using (clear, compile)');
    BEGIN dbms_cube.build('POSITION using (clear, compile)'); END;
    ERROR at line 1:
    ORA-37162: OLAP error
    XOQ-01703: error during parse of build process script: "BUILD POSITION using
    (clear, compile)", ""
    ORA-06512: at "SYS.DBMS_CUBE", line 236
    ORA-06512: at "SYS.DBMS_CUBE", line 280
    ORA-06512: at line 1
    Thanks,
    DxP

    I believe in this case the parser that is parsing the build process script is treating the dimension name "POSITION" as a keyword and not as an OLAP Cube Dimension name. You may wish to rename the dimension to a name other than "POSITION" or double quotes as specified previously.
    Edited by: user713408 on Aug 1, 2011 12:12 PM

  • MRP Cancel Process message 20

    Hello,
    As I know when MRP run system will propose the cancel process message 20 based on planed delivery time and PO delivery schedule.
    For ex: for one material planned delivery time is 60 days, PO delivery schedule time is around 6 months from current date due to this reason system showing for one existing PO saying that cancel process message 20
    Again I have changed the PO delivery schedule up to 5 months from current date in this case system overwriting then it is not showing the cancel process message 20. only it is showing schedule change
    So what I want to know is how system is calculating for this is there any specific formula or how this is to be analysed
    kindly give the solution

    Hi,
    Exception message 20 is for  Excess planning/stock for the required segment
    The Exception message 20 is given to the first available procurement element that falls after the date the planned stock becomes excess and that can be fully deleted without causing stock shortage.
    Just check what is your MRP type ? and you have any requirement falls on that particular delivery date of PO

  • After upgrading to 27, firefox will not start. Saw an error message during the upgrade process.

    After upgrading to 27, firefox will not start. Saw an error message during the upgrade process but cannot remember.
    Tried to run firefox.exe -P but receive error message:
    XML Parsing error: undefined entity
    Location: chrome://mozapps/content/profile/profileSelection.xul
    Line number 18, Column 1:
    <dialog
    ^
    Running on Windows XP SP3. No problem whatsoever before upgrading to 27. Sending this from Chrome as I cannot open Firefox at all.

    Thanks jschaer2000: after starting it once in safe mode, I closed Mozilla and tried several restarts in normal mode. So far, all worked:-)
    Thank you very much again.
    Still the automatic update process bothers me: it took me several days to discover the reason to the malfunction, since when I removed the problematic version from Add and Remove Programs, I didn't pay attention at first that it was another version, not v26 which I installed from my folder.
    In addition, I like to save the installation files before I run new programs and if I didn't have v26 exe file, I couldn't have operated Mozilla at all. Not that it was fun to remove and install again each time v27 didn't react, but it was better than nothing, I still prefer Mozilla over its competition.

Maybe you are looking for

  • Using my new Macbook

    I'm going to be a Freshman in college in the fall. I recently bought a Macbook for when I go away. I figured it would be really easy to take notes on a laptop cause I can just type them on Word instead of writing notes out. Then I had the idea that i

  • Database to table

    Dear Paul Bull! I am new to java programming. I have created a JList containing the names of some persons ( initally) and I want to know how to associate this name from the details of that person. The user should be able to click on the name of that

  • Issue with the RFC function module - parameters

    Hi,     When i am creating RFC enabled function module, it was throwing an error like <b>'Reference parameters are not allowed with RFC'.</b>. I am implementing the test scenario to create BAPI, for that i have created table with 2 fields. My main in

  • OAS 4.0.7.1 aborts when Jweb or LiveHTML cart run

    Hi, I've got and installed OAS 4.0.7.1 on RH 5.2 with all teh necessary kernel mods and libraries (that I can see). Db is 8.0.5 on a remote Linux box. It appears to start correctly. I can admin it OK. I can use the database browser, and the log analy

  • Don't have the recovery manger in my hp g42 laptop

    WHEN I DOWNLOAD THE RECOVERY MANGER FROM HP IT LET ME DOWNLOAD IT BUT WHEN I CICK TO RUN IT IT SAYS DON'T HAVE HARDDISK.DLL