Reading AQ messages in sequencing order.

Hi,
In order to make sure that the BPEL process reads the messages from the queue in a sequence. There were two things suggested in some document.
1. Make sure the Actication Adapter is configured to run only one oc4j instance inside the BPEL Cluster
2. When creating the Adapter make sure to set retry deplay as 0
Does any body has any ides where we can do this? I couldn't figure out both of them.
--Khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

My understanding of how this works, is that messages would always be dequeued from the AQ in their sequenced order. The behaviour you are probably seeing, is because the BPEL adapter then delivers to them to BPEL processes and they are processed concurrently. So you've got no guarantee that process 1 will complete before process 2.
Do you need an instance to finish and complete before the next instance starts? If so, you can design that, but you will not get performance as high as if you are processing queue messages concurrently.

Similar Messages

  • "Error while reading Exceptions" - Message No. /SCMB/ORDER 351

    Hello,
    An error message that we are getting as "Error while reading Exceptions" - Message No. /SCMB/ORDER 351 while entering a Work Order Number in the 'Work Order details' screen in the SNC Web UI. So, please let us know how to tackle this error in SNC.
    Regards,
    PCN

    Hello Pavan,
    This message can occure at multiple places. Most of these are status reading and checking in the /SCA/CL_SVORDER class. The following methods can throw this message:
    CHECK_ITEM_EXCEPTION_STATUS
    You can set a BP at line 20 and debug the STATUS_CHECK function.
    GET_ITEM_EXCEPTION_STATUS
    You can set a BP at line 29 and debug the STATUS_READ function.
    READ_ITEM_EXCEPTION_STATUS 
    You can set a BP at line 31 and debug the /scmb/cl_odm=>get3_by_id method.
    I hope this will help you.
    Regards,
    Richard

  • Reading error message of an order

    hi ,
         i want to read the error messages of a order .
    one probable solution is reading application log but i don't know how to read the application log of a order.

    Hi,
    Please read the following link for your information:
    http://help.sap.com/saphelp_crm50/helpdata/en/85/44e03b861eeb66e10000000a11402f/content.htm
    Best Regards,
    Johnny.
    Reward if it helps.

  • How to Configure a Pop Up Message in Sales Orders

    Hi,
    How can I display a message when creating or changing sales orders? I need the configuration steps for 4.6.
    Thanks,
    Sai.

    Hi,
    First you need to make an entry of your pop up message in the sales text view of the material master and when the user enters that material, he will be able to see that message. The Config part is in spro/sd/basic func/text control. You need to define the text types, access sequences and the text determ procedures.
    You have to maintain the desired text in the material master sales text editor and turn on the indicator 'Display texts during transfer' under Text control in configuration for the sales order-item for the material sales text. This will display a Pop-up message when booking orders
    Reward points if found helpfull...
    Cheers,
    Siva.

  • Processing JMS messages in sequence one after another

    This is my use case which I wan to implement in OSB.
    1. I have a queue which will receive messages in huge numbers from a single sender.
    2. I have a proxy which will read each message and process the message and send it out.
    In step 1 , I want each message to be read sequentially and when step 2 finishes executing then I want to read the next message from the queue.
    I need to give an acknowledgment to JMS that the message has finished processing and it can make the next message available to the proxy.
    What is the best option to implement this use case ?.
    Regards

    By default Weblogic JMS Queues are FIFO. But that is true only if there is only one consumer of the queue.
    In case of a clustered environment that is not true and in case of OSB even with a single managed server multiple threads are created for a JMS listener Proxy(by default 16). So there will be 16 instances of the Proxy trying to read messages from the Queue and each will be handed out a message and sequential integrity is disturbed.
    There are three ways to overcome this problem:
    1. Unit of Order
    This is suitable only when you want messages of the same group to be processed sequentially while multiple groups can be processed in parallel.
    For e.x. you are getting multiple orders for multiple customers and you want to ensure that the orders of same customer are processed sequentially (in case a customer tries to change the quantity of an order then the latest one should be processed last). In this case you can set UOO as the CustomerID and each customer's order will be processed sequentially but orders of different customers will be still processed in parallel. WLS JMS achieves this by assigning a target queue instance on the cluster for each UOO value. It will assign Q!MS1 to CustID=1, Q!MS2 to CustID=2 and so on. All messages of the same UOO(of the same customer) will go to the same instance on the queue. Furthermore it will ensure that no two messages of the same UOO are released together to the listeners. So if a queue instance has 5 messages each of both Cust=1 and Cust=2, only one message each of Cust1 and Cust2 will be processed by the listeners even if there are 16 listening threads.
    Pros and Cons:
    Overall performance is improved since you can still achieve some parallel processing.
    There will be a slight overhead of processing the UOO headers on the JMS servers.
    Can not ensure sequencing of all the messages. (Although you can achieve that by setting the same UOO on all the messages)
    If the managed server assigned to a UOO is down, if a publisher tried to put the next message for that UOO, it will fail since it will not try to send that message to any other managed server.
    2. Single threaded processing
    If you don't want to process even different groups of messages in parallel and if you want absolute sequencing (i.e. irrespective of the CustomerID you want all the messages to be processed in the sequence they arrive) you will need to process them in a single threaded model. The JMS queue should be deployed on only one managed server of the cluster. The JMS proxy listening to the queue should also be deployed on a single managed server(You will need to change the targeting for the EJB created for this Proxy in the Deployments) and there should be a Work Manager for this Proxy with Maximum Thread Constraint set as 1. In the Connection Factory which the Proxy uses, set the Maximum Messages per session to 1. Another approach for Single threaded could be to set the same value of UOO on all of the messages. This will make all the messages to go to the same Q instance in the cluster and also will make sure that even if Proxy has multiple threads, only one message will be processed at a time.
    Pros and Cons:
    Completely single threaded processing, will take more time since messages will be processed one after the other.
    Load balancing will go awry as all the messages will be processed by only one server.
    3. Using custom implementation
    The most complex way is to create a completely custom implementation. Put all the messages in a DB and then process them one at a time based on timestamp.
    Pros and Cons:
    It will take more effort to implement than the other two approaches.
    It will again need single threaded processing after the messages are put on the DB
    Performance wise there will be more impact because of additional DB calls
    More complex to maintain
    Based on your exact requirements you can choose which approach you want. If you have SOA suite as well them it would be better to move this solution to SOA suite as OESB(Mediator) component of SOA suite has re-sequencing feature.

  • Error Message while doing Order CLSD

    Hi,
    I am getting error message while doing Order CLSD...
    Error Msg: Invalid cost element(XXXX) for reservation item 010.
    please suggest me...how to solve this issue.
    regards,
    Venkatesan Anandan

    Hi Venkatesan,
    I had replied and asked for one clarrification and to check same at your end.
    Is your Cost Element mapping done with cost cost center used in order settlement rule.
    Also check for Material Master Change document for Valuation Class change and revert back in this thread.

  • Customer error message in sales order on save

    Hi Friends,
    as per requirement i have to raise the error message and system should enable the field to change values. This should happen when condition is not met on Saving of Sales order.
    For this, i have used the user exit USEREXIT_SAVE_DOCUMENT_PREPARE. But the problem is system throwing error message and all r in display mode only. as per my requirement system should allow to change the error value field.
    i have verified many posting in this SDN, but nothing is working out.
    Please guide me, how to raise the error message and system should enable that filed.
    My doubt is where should i raise the error message in sales order (MV45AFZZ)??? if any badi to raise the error message also fine for me. I tried many ways like... message with display like..... and set / get parameters and badis....  but not able to find the correct solution.
    Thanks in Advance.
    Bala

    Hi
    You need to use check for enahcement spot, which will be help to you.
    Bcz you are throwing custom error message in the standard transaction, once the error is display, you could not able to change the values. your prob can be solved by using the enhancement sport.
    This is include name (Include:MV45AF0B_BELEG_SICHERN).
    In the above include, you need to create a enhancement spot after this spot (ENHANCEMENT 16  OI0_COMMON_SAPMV45A.)  
    write your custom code and while displaying an error message. set flag = 'x', then use below code. It will display error message once you press ENTER, you will get the sale order in change mode, you change the values.
      IF flag = 'X'.
              fcode = fcode_gleiche_seite.
              perform fcode_bearbeiten.
              ch_subrc = 4.
              exit.
            ENDIF.

  • Message FZ626 -Payment orders are not defined for extended withholding tax

    Hi Gurus,
    Would you please help me with the message below:
    Message FZ626 -Payment orders are not defined for extended withholding tax
    In my company  payment orders are created in F110  for accounts payable, as we use another ERP system (Baan) to perform the local accounts payments, and now I've just activated Extended withholding tax functionality With accumulation (necessary in Brazil) but I get this error.
    Is it not possible to user payment order with extended withholding tax + accumulation? I find it hard to believe...
    I've tried to unflag the payment order only for the payment method I'm using in FBZP t.code, but then no payment order were created but instead a payment document were posted with the withholding tax accumulation, but this is not the way we are working, and nothing is sent to Baan
    any help is welcome !
    TREAD LOCKED SINCE IT IS DUPLICATED FROM THREAD payment order are not defined for extended withholding  tax

    Hi,
    On the analysis,  the system expects an entry in the T059Q table with
    code as XX.
    The reason being in the extended withholding tax we use multiple
    witholding tax codes and these entries are stored in the table
    with_item. And in BSEG we populate the field withholding tax code i.e.
    BSEG-QSSKZ  with the value 'XX'. In classical withholding tax we used to
    store the code directly which is not possible with Extended withholding
    tax.
    As the field BSEG-QSSKZ refers to the values in the table T059Q-QSSKZ
    the entry 'XX" needed in this table for the corresponding country of the
    company code to maintain the correct relationship and consistent
    database information.
    Hence for the statistical purpose and for the internal calculations we
    need an entry in the table T059Q. Could you please maintain this code
    i.e. 'XX' also in the table T059Q in a test system? Then retest your issue.
    This should resolve your issue.
    Kind Regards,
    Vanessa.

  • Apple Mail 5.3 seems to corrupt/lose its place in message id sequence numbers

    OS/X 10.7/Apple mail 5.3 seems to corrupt (or at least lose its place in) the message id sequence number. Two days ago, around 2:0x mail stopped fetching email from a pop server that I own (all installed through WHM and CPanel at WestHost).  This happened again today sometime around 2:0y.
    Logging into webmail showed a number of emails pending.  Bouncing mail or restarting OS/X yielded no joy.
    When I delete the email account in Mail->Preferences->Accounts and then recreate it, it fetches all the mail as expected.
    Any ideas on how to figure out what is going on?
    Note that CPanel did undergo a big upgrade to 11.34 on Tuesday, so my initial thought was that was culprit, but since delete/recreate of the mail account fixes, I am not so sure.
    thanks in advance,
    Mike.

    Forgot to add, no one else using this pop server reported any problems (and I checked).
    Mike.

  • Hyperion Interactive reporting - Pivot Section Facts Sequence / Order

    Requirement :
    Dynamically populating Month Name & Year as Column Name.
    Challenges :
    Using a computed colum and variable, we are able to assign the variable to the computed column and get the values as desired. We have 7 non computed columns and 12 computed columns to be displayed in the Pivot Section.
    All the functionalities are met except for displaying the 4 non computed columns first , the 12 computed columns secondly and remaining 3 non computed columns at the right end
    For Instance :
    The Pivot should display this.....
    Order Date Qty Amount Mar,10 Apr, 10........Feb, 11 Return Date Stock
    Instead, it is displaying as
    Order Date Qty Amount Return Date Stock Mar,10 Apr, 10........Feb, 11
    In the above scenario, my database columns are
    Order Date, Qty, Amount, Return Date, Stock
    and
    Computed Columns are :
    Mar,10 , Apr, 10........Feb, 11

    Is there a possibility to display Pivot Facts in a sequence order (computed & non computed items dynamically)?

  • Will Iphoto retain old photo sequence order in albums if I upgrade to newest IOS 5?

    I have delayed updating IOS because of previous postings suggesting problems with retaining photo sequence order after the upgrade. Present order does not follow time/date, but has been manually developed in Itunes. Albums will be of little use to me unless I can manually choose the sort order. Ipad 1; I touch.

    Only if something goes astray, which happens some times.
    - Backup the iTunes
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Make sure that all synced media like apps and music are in your iTunes library and any photos synced to the iPod are also on your computer. Synced media is not included in the iPod backup that iTunes makes
    Then update vai Tunes
    iOS 4: Updating your device to iOS 5 or later
    You need iTunes 10.5 or later on the computer.

  • Picking up files in a sequence order

    Hi,
    My requirement is to picking up the files in a sequence order,
    The sequence no. (say for eg 1, 2, 3,etc)will be attached along with the files.
    i.e file1.xml,file2.xml,file3.xml etc
    suppose if my input folder contain file1.xml, file2.xml,file4.xml
    PI has to pick up file1 and file2 and it has to wait for file3 to arrive.
    ie. it shouldnt pickup file4.xml since there is no file3.xml.Sequence no3 is missing.
    If i give processing sequence as name, it will pick file1 first and then file2 and file4.it will never check file3 is missing or not. how can i achieve this?
    Is there any way to do this with out writting a shell script?

    Hi,
    I think in that case, just use the dynamic getFileName java UDF in your mapping and in that UDF you can define the thread.Sleep interval after checking with the conditions for the file sequence.
    Although I have never tried but this might be a right approach to achieve this functionality.
    Thanks!

  • Guaranteeing sequence order when polling with DB adapter

    We need to read rows from a source table using the DB adapter in polling mode, and deliver them to separate files in the same order they were read from the DB.
    My understanding is that when polling, if we find 10 records to be processed, 10 separate BPEL processes will be created.
    It's not clear how to then maintain the sequence order when creating the files, as each process may execute faster or slower than others.
    Any advice appreciated
    Toby

    Marc/Sjoerd,
    Firstly, thanks for your replies.
    On Marc's suggestion, if say we read 100 records using the database adapter, we get 100 processes. How do we control which process will be the first one to be processed, and which of the remaining 99 processes will be subsequently processed once the first has been completed by the cruncher process?
    Sjoerd's 1st and 2nd option are not acceptable to us - we have to ensure the same order the records are read. for example record 1 could be a creation and record 2 could be an update to the first so delivering the update to the destination system before the creation will result in an error.
    I'm not clear about option 3 - this sounds similar to Marc's suggestion. I can't see how order is maintained between a group of processes created as a result of the database adapter polling, and them being serviced by a cruncher/singleton process. What is to stop the bp which contains the first record being processed first, then the bp which contains the fifth record being processed second, then the bp which contains the second record being processed third etc?
    Thanks
    Toby

  • Get categories sequence order

    Hi,
    I manage to display some categories on a page. Some how I like to display the categories in a specific order. To be exact, I like to have the same order as we can define in the pagegroup properties > configure tab > Types and Classification > Categories section, when adding new categories.
    Portal stores that sequence order somewhere because when we return to pagegroup properties we have the same order as defined previously. I looked the Portal's tables and package trying get the table or view where sequence order is stored, but I can't get it.
    Anybody knows where I should get this sequence order? (table or view). I'm new to Portal and so I know little about it.

    Found
    portal.wwv_topics
    PORTAL.WWSBR_ALL_CATEGORIES allows you to query/modify your categories.

  • Sequence Order on time line

    I noticed on the newest version of Adobe Premiere 2014, the sequence order keeps getting messed up with ever-time I open it. I exit out of it with sequences in a specific order on timeline. Next time I go in Adobe the sequences there are out of order and some of them are not even open. Has anyone faced this issue? It definitely didn't happen in Adobe Premiere CC 7.

    I have this same exact issue with CC 2014. Have just submitted a bug report....I'm not expecting anything anytime soon though. 
    Very annoying behavior though.

Maybe you are looking for

  • Panasonic AJ-D950

    I am using a Dual Pro G5 PowerMac, running a recently installed upgrade from HD to FCP Studio with Blackmagic decklink and a Panasonic AJ-D950. Since we upgraded, everytime we capture footage we get the "Tape trouble. Check VTR. Do not attempt to eje

  • ITunes 7.3 locks up when iPhone is connected!

    Just got my lovely new iPhone, and I can't do a thing with it. Installed 10.4.10 and iTunes 7.3 (after a false starte with the iPhone before I realized I needed to add the newest software). Now, when I connect the iPhone to my MacBook Pro, iTunes doe

  • Comparing two files in BPEL

    Hi all, I am here with one more problem.. I am reading one fixed length file from a location. I have another file at different location where I have to write the incoming file. Now before writing the file I have to compare the input file with existin

  • ORA-01187 AND ORA-01110

    dear all i am getting ORA-01187: can not read from file 201 because it failed verification test. ORA-01110: datafile 201 : directory_path\temp01.dbf. Now i am unable to exp and imp dump and even i can see table spaces using toad. any help .... Thanks

  • Install CS5 with existing serial number using CS6 link in adobe

    I purchased a student version of CS5 so downloaded a trial and which I activated iwth my serial number. I need to reinstall it on my computer, but all the adobe links have changed the trial version to CS6. If I install CS6 trial, then activate with m