Skip to Content

How to prioritize messages in XI

   

      Some scenarios require processing messages with priority;        these situations can be managed by sending them to a queue of        higher priority.     

   

      The following transactions will be used:      

  • SXMB_ADM – Configure Sender/Receiver ID
  •      

  • SXMB_ADM – Configure Filter for Queue Prioritization
  •      

  • SXMB_MONI – Monitor for Processed XML Messages
  •    

       

          The process to prioritize a message goes as follows:      

  • Configure sender/receiver IDs
  •      

  • Configure the filter criteria
  •      

  • Activate the filter
  •    

       

          So first we need to configure IDs for the sender service and/or for the       receiver service. After creating a new entry we’ll need       to define at least the following fields:      

  • Service. Either source or destination service
  •      

  • Interface Name. Either sender or receiver interface
  •      

  • Interaface Namespace. Automatically assigned
  •    

       

          In this weblog I’ll show how to prioritize a message in an outbound        queue, so a sender and a receiver must be defined. When using an       inbound queue just the sender is needed. The following image       shows the configuration:    

       

         

       

            image     

       

          Next we’ll configure the filter to prioritize all the messages which       come from the Sender ID and which are send to the Receiver ID       that we defined.     

       

         

       

            image     

       

          After adding the filter we should have a table like the following:    

       

         

       

            image     

       

          Finally the filter has to be activated; therefore the row should show       the “active” status.    

       

         

       

            image     

       

          In order to check whether the message is being sent to the right        queue we can monitor the messages in SXMB_MONI. The messages should be sent to the        right queue after the activation.     

       

         

       

            image     

       

          The queue XBTL, which handles large messages, can’t be deactivated or deleted because        it is in charge of maintaining the processor workload stable. The parameter        EO_MSG_SIZE_LIMIT can be configured to define what a large message size is.        Please read carefully the       XI Tuning Guide      if you are planning to change this criteria.    

    To report this post you need to login first.

    5 Comments

    You must be Logged on to comment or reply to a post.

      1. Anonymous
        I didn’t know. Any way, if someone likes to get the general idea quickly, my post will do. Thanks for the reference !!!
        (0) 
        1. Michal Krawczyk
          hi JAVIER,

          please do check previous XI weblogs
          and XI content on the sapNET

          if you’re not sure about the XI weblog topic
          you can always ask on the XI forum before publishing

          Thanks,

          Regards,
          michal

          (0) 

    Leave a Reply