Improve queue Prioritization

Dear experts,
we have scenarios with different priority on our SAP PI 7.0 system.
1. Async: File to IDoc (low priority)
2. Async: IDoc to File (high priority)
The scenarios are configured in SXMB_ADM ("Configure Filter for Queue Prioritizazion") and the messages are attached to the correct queues. However, when there are lots of messages in the low priority queue, also high priority messages get delayed. They are still processed much faster than low priority messages, but sometimes there is a delay of some minutes. Please note, that I'm talking about delays in Integration Engine NOT Adapter Engine.
Is it possible to configure a high priority queue, so that messages are always processed directly?
Best regards,
David

Thank you for your answer.
The following queues are configured:
Queue name               Type Mode Max. Runtime Attempts Pause
XBQ1*                     R    D       120         30     300
XBQ9*                     R    D        30         30     300
XBQA*                     R    D       120         30     300
XBQB*                     R    D        60         30     300
XBQI*                     R    D        60         30     300
XBQO*                     R    D        60         30     300
XBQX*                     R    D       120         30     300
XBQY*                     R    D        30         30     300
XBQZ*                     R    D        30         30     300
XBT1*                     R    D       120         30     300
XBT9*                     R    D        30         30     300
XBTA*                     R    D       120         30     300
XBTB*                     R    D        60         30     300
XBTI*                     R    D        60         30     300
XBTJ*                     R    D        60         30     300
XBTL*                     R    D        60         30     300
XBTM*                     R    D        60         30     300
XBTO*                     R    D        60         30     300
XBTX*                     R    D       120         30     300
XBTY*                     R    D        30         30     300
XBTZ*                     R    D        30         30     300
High priority messages get processed with Queue XBTA and low priority with XBTZ.
We increased the polling interval, but we still have the problem, as the files are very big.
Do you have any ideas? Thanks in advance.

Similar Messages

  • Filter for queue prioritization ...

    Hi guys,
    I have a question relating to filters for queue prioritization. I have defined filter for large messages (i.e. messages larger than 2048kB should go into XBTL queue). Is it possible to define another one that would say:
    "All messages from Sender Name XXXXX larger than 1024kB should be passed into XBTL queue" ?
    I know how to create such filters for other queues but XBTL queue is special case.
    Do you know how to do it?
    Thanks in advance!
    Regards
    Zbynek

    Hi,
    Please find the link for "How To prioritize XI messages in queues" below.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/59e837d3-0201-0010-c096-dc1869733413.reward me if useful. Let me know if ur issue not resolved.
    Thanks,
    Ramesh

  • Problem in queue prioritization

    Hi everybody,
    He have an Interfase but we can´t see it in queue prioritiaztion and in transaction sxmb_moni.
    Does anybody knows why??
    Thanks a lot.
    Regards

    Hi,
    >>He have an Interfase but we can´t see it in queue prioritiaztion and in transaction sxmb_moni.
    Are saying that you are not able to Configure Filter for Queue Prioritization? or you are not able to see you interface in Configure Sender/Receiver ID
    Regards
    Suraj

  • Configuration for Queue Prioritization for EOIO Queues

    Hi,
    Please can anybody help me in configuring the queue prioritization for EOIO Queues.
    Regards
    Srinivas

    hi,
    Check these help..
    Eo/EOIO?BE - Queue - ? - /people/sap.india5/blog/2006/01/03/xi-asynchronous-message-processing-understanding-xi-queues-part-i
    Please go through these links
    /people/sap.india5/blog/2006/01/03/xi-asynchronous-message-processing-understanding-xi-queues-part-i
    For queues in message mapping
    /people/venkat.donela/blog/2005/06/09/introduction-to-queues-in-message-mapping
    Here are the Queues for Asynchronous Message Processing
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/94553b4d53273de10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f078394a-4469-2910-c4bf-853c75674694
    Thanks,
    Vijaya.

  • Queue Prioritization with BPM

    I am trying to get messages coming into a BPM to use a high priority EOIO queue, without success.  I am not really sure I understand why BPM's always use EOIO queues, but I am accepting that and just trying to get a few into a higher priority queue. 
    The message coming from the adapter always seem to go to an XBQO$PE_WSxxxxxxx queue specific to the adapter.  I've made an attempt to set up queue prioritization in SXMSQUEUE, but am really not sure abou the 'message queue' parameter in the in the filter setup. 
    What value do I need to use here ?  Anything I desire to use ?  Does it need to match up with a corresponding parameter anywhere else ? No matter what I try they just end up going to XBQO$PE... queue.  I do have filters set to influence other steps to go to a high priority EO queue, but can't seem to get a BPM to do so in an EOIO.
    Thanks for any help,
    Tim

    Hi Tim,
        Always the queue for a BPM process will be generated with the name XBQ0_WS* where WS* will be the workflow id which you can see thru PFTC_DIS transaction of your ABAP stack...Thats the default design of SAP and all the messages will go in a EOIO manner into this queue and gets assigned into the Process Engine.
        There is nothing much we can do explicitly on this queue assignment as we also faced the same issue in case of interfaces with BPM where idocs will be flowing into XI in bulk...
    Cheers
    JK

  • Queue Prioritization

    Hi Friends,
    I have three receivers x, y, z i have done queue prioritization for the z receiver 1st and this Z receiver has to executive first but it is not executing.
        Any solution for this?

    Hi,
    Please verify if you have register the Queues with SMQR then what values set for parameter MAXTIME.
    In SMQR, you could monitor the registered queues as well as additional information, for example, the number of messages in each queue or the relative execution time as a percentage.
    also refer paramters that have set.
    /people/sap.user72/blog/2005/12/12/how-to-prioritize-messages-in-xi
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bb9649-e86e-2910-7aa9-88ed4972a5f6
    Thanks
    Swarup
    Edited by: Swarup Sawant on Feb 29, 2008 10:30 AM

  • Queue Prioritization in R3/ECC

    Hi,
    We have prioritize PI queues already. In PI it is more of interface specific queue allocation. If we go to sxmb_adm of R3/ECC, again we could see similar options of managing queues. Do we have some simitar concept in R3/ECC too? e.g. if there a lot of  messages coming to ECC from a low priority PI message, then is there any possibility of sending these messages to specific queues in ECC?
    Kind regards,
    Prateek

    Okay ;o)
    So transfering IDocs via qRFC between systems might be an option for you. But this just guarantees that for example EOIO messages do not overtake one another even during transfer from one system to another.
    IDocs are processed in the ECC system via 2 ways. Either "immidiately" when received, or via "background job" which has to be scheduled. Please see you config per inbound message in ECC in WE20.
    So I guess the prioritization as you need it will not be provided by message prioritization as configurated in XI.
    Kai

  • Queue Prioritization not working

    I have two scenarios coming from ECC which pushes IDOCs to multiple receiver systems. I created a Sender/Receiver ID as follows
    Sender Component : ECP
    Interface Name : *
    Namespace : urn:sap-com:document:sap:idoc:messages
    So the above rule covers both scenarios. I have created queue rule to assign messages with size less than 1000KB to assign to high priority queues XBT1* and tested the rule which is working.
    Now i see in production, all the messages coming from these two scenarios are assigned in normal queues XBTo.They are not taking the XBT1 queues..
    can any one let me know possible error i might have made. We are on PI 7.1 EHP1
    Thanks
    Guru

    I think this is what its happening....
    As my scenario is Single Sender and multiple Receivers... The root message is going to be in the inbound queue which is why parent message are getting High priority queues.
    All the child messages are going through outbound queues, since the technical routing happens in the outbound queues,  thus are having XBTO*
    from the sample in my SXMB_MONI production
    http://i.imgur.com/JuU0L.png
    Atleast from the screen shot this what I guess
    If it were single sender and single receiver, I think I would see High priority queues in the SXMB_MONI
    Any one has more thought on it

  • Improving queue performance

    In the current iteration of our AQ implementation, we allow Oracle to do a full table scan each time it processed a record.
    We are considering dropping the statistics on the queue tables so that oracle will use the index. Could those reading provide an opinion here?
    Does oracle recommend analyzing the queues?

    Thank you for the quick response.
    In answer to your questions,
    The Oracle release is 8.1.7
    For dequeue_options_t, the wait is set to 30 and the navigation is set to first_message. All other parameters are set to default.

  • Sync messages should have higher prioritization in IE than async messages

    Hi there,
    does somebody know how I can assign a higher prioritization to sync messages than to async messages in XI 3.0? In case of a bottleneck on the Integration Engine I want to get sync messages processed first. Message prioritization in SXMB_ADMIN does not work because it's ony applicable for async (EO / EOIO) messages.
    Thank you.
    BR,
    Ralph N.
    UPDATE: Since there doesn't seem to be a solution for this issue let me specify it. What kind of installation can be made in the landscape to separate sync messages physically from async messages?
    Edited by: Ralph Nitschke on Jun 25, 2010 1:58 PM

    hi,
    i found some links, hope those helps you
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20bb9649-e86e-2910-7aa9-88ed4972a5f6
    http://wiki.sdn.sap.com/wiki/display/XI/DifferencebetweenSXMB_ADMandSXMB_ADMINISTRATION
    Queue prioritization
    ** Queue Prioritization in SXMB_ADM - Tuning Param  - Whats the difference
    Also try searach in ussing by "queue prioritization" in SDN you will find many links
    Thanks
    Rodrigo P.
    Edited by: Rodrigo Alejandro Pertierra on Jun 25, 2010 10:25 AM

  • Reg: Dynamic  Queue name

    Hello Experts,
    Although I am not  a PI expert i would like to ask ,
    Can I have Dynamic Queue name generation on the basis of the payload which i am receiving
    Quality of service my be any EO or EOIO .
    For example My pay load stream my contain  Data for Purchase Req. Creation   / and change its a known fact that Creation payload should come first and then change so my Question is can i have my queue name on basis of the Document which i am processing ?

    I dont thnik this is possible in PI for generating queue names based on payload. As Queue should be utilized proper way and based on the PI resources like work processes,.
    But for your scenario, you can use EOIO and specify queue name accordingly for both scenarios.
    And you can do Queue prioritization to assure the creation payload followed by change payload.
    --Divyesh

  • Queue processing in receiver idoc adapter

    hi all
    i am doing file to idoc scenario and i want to use queue proceesing option can anybody tell me the entire process regarding queue processing.

    Hi KUNAAL MASIH  ,
    U can use a Prioritized queue for urgent messages that must be processed immediately
    These r the details Queues Prioritization:
    Queues for Prioritized Message Processing
    http://help.sap.com/saphelp_nw04/helpdata/en/04/827440c36ed562e10000000a155106/content.htm
    Queue prioritization for XI processing queues uses a built in feature of qRFC. By specifying the maximum processing time for a queue, u can define how much processing time a specific queue will get(this works like a time-scheduling procedure, time slicing). U can use this feature to add queues for high-priority and low-priority messages(for inbound and outbound processing). These queues are then named, for example XBT1* or XBT9* for inbound EO processing and XBTA, XBTZ for outbound EO processing.
    This function uses the message filter concept and can be configured in transaction SXMB_ADM. U can define message filters for specific message attributes such as sender/reciever service, interface and so on. A filter can also be dependent on the message size.
    This function can also be useful in situations where a queue backlog needs to be processed, due to a system error or an error on the reciever side, for example. In this case, u can use a Prioritized queue for urgent messages that must be processed immediately, without having to process the whole back-log first.
    How to prioritize XI messages on the integration server
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bb9649-e86e-2910-7aa9-88ed4972a5f6
    The parameter QualityOfService specifies how the Integration Engine should process a message. The following values are permitted:
    1)BE(Best Effort: synchronous processing). If QualityOfService is BE, the client is sent the final status for the processing.
    2)EO(Exactly Once: asynchronous processing with guaranteed execution exactly once). If QualityOfService is EO,processing occurs asynchronously and the client only recieves a confirmation of reciept with HTTP status '200'.
    3)EOIO(Exactly Once in Order: asynchronous processing using queues, that is, guaranteed execution exactly once and maintaining the sequence of successive messages). If QualityOfService is EOIO,processing occurs asynchronously and the client only recieves a confirmation of reciept with HTTP status '200'.
    Since u had choosen EOIO ,You must also define a queue name for EOIO:
    XI.QueueId=<QueueName>
    This queue name is used in the Integration Engine to process messages in the same sequence that they arrived in.
    This QueueName can consist of a maximum of 16 characters. If the first 8 characters contain 'SAP_ALE_', these r removed since this value is reserved by SAP and used internally.
    If a value is not specified for QualityOfService , the default value 'BE' is used.
    These r following websites which u wil find helpful:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/d906d01f77fa40a4c84683c3f8326f/content.htm
    http://documentation.softwareag.com/crossvision/xie311/admin/config.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a8424011-0d01-0010-e19d-e5bd8ca52244
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • JMS queues

    Hi Group,
    We have scenarion JMS to File, using SAP Pi as JMS provider,configured sender JMS channel to pick up the message from queue,some times the message in queues are not picking up and strucking in the queue,is there any way we can tune or adjust
    queues to pick up the messages immediately.Also is there JMS queues prioritization option available within 7.1 version.
    Regards,
    Rajiv

    Hi,
    depending on the JMS provider check question
    3. Provider specific Issues from
    Note 856346 - J2EE JMS Adapter: Frequently Asked Questions (FAQ
    >>>Also is there JMS queues prioritization option available within 7.1 version.
    yes:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/59/25ee41c334c717e10000000a155106/content.htm
    >>>>there any way we can tune or adjust queues to pick up the messages immediately
    yes
    check service :XPI Service: AF Core
    where you can change the number of queues per adapter (so JMS for example)
    http://help.sap.com/saphelp_nwpi71/helpdata/en/a7/c3d341c4cbc317e10000000a155106/content.htm
    hope this helps,
    Regards,
    Michal Krawczyk

  • How to pass data to XI interface through a particular QUEUE ID

    hi,
    i need to pass data to XI through a particular QUEUEID if any body has sample ABAP code for it pls post...........
    its very urgent tx....
    shiva.

    Hi Shiva,
    Are you talking about queue prioritization?
    To be able to have your interface pass through a particular queue name, you have to first register your queues in sxmb_adm.  You can check that in the "manage queues'.  Then you configure the sender and receiver service/system and the interface in the configuration "configure filter for queue prioritization".

  • Sending to a dedicatede to Queu in PI

    Hi,
    We have an important inteface sending data to PI which sends data further to R3.
    When PI recieves data  related to the  interface we want data to be put on dedicated output queu (smq2) used only by this interface.  We want to  name the queu ourselves?  Anybody who know how to do that.
    Regards.
    Ugur E

    There is a concept called Queue Prioritization which you can check out:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20bb9649-e86e-2910-7aa9-88ed4972a5f6?quicklink=index&overridelayout=true
    More information is available on SDN...you can search for it, if needed.
    Regards,
    Abhishek.

Maybe you are looking for

  • Dunning letters excluding credits

    Hello, I am experiencing problems with my dunning letters. When using the wizard and selecting my BP I can clearly see credit notes on the recommendations report however when I come to print the dunning letter, it is omitting it from the report. Why

  • Add new tab button does not appear at the right of the previous tab

    Just upgraded to Firefox 4 and the plus sign (T) for a new tab does not appear on the right of the previous tab as it had in earlier versions. I thought it was there briefly after I upgraded but it's not there anymore. How do I get it back? I did dow

  • Pdf slideshow from PS CS4 - not bridge/output!

    Does anyone know if I can get it back in the automate settings, perhaps as a legacy function? I've just downloaded the PS CS4 and LR2 trials (and using the beta LR2.2 and beta ACR) as my PS CS2 and old raw plugin don't open my new cameras images. imh

  • Pass Dynamic Parameter to Agent

    Hi All, I am trying to send the report/analyses by mail to my leaders in Oracle Business Intelligence 11.1.1.5.0. My report has Dashboard prompt for Region like "North" , "South", "East" and "West". I am able to send the report for all region but not

  • How to control the role in portal with SRM7.0

    HI ,My expert :   I work in SRM 7.0  with EP.   I want to control the ROle about the business partner manage .In the portal ,some user can edit the business partner  data ,however the other can only display the data .In this case ,I do not  how to co