Skip to Content
avatar image
Former Member

How to assign a dedicated queue for an interface

Hi,

Is there a way to assign a dedicated queue for an inbound interface (JDBC to Proxy) in EO Mode.

Regards,

XIer

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jul 13, 2009 at 06:29 AM

    AFAIK the only way to do this is through prioritizing the Queue using this procedure:

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59e837d3-0201-0010-c096-dc1869733413

    Then you can define the Queue that you want to use for the required message flow....

    Regards,

    Abhishek.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 13, 2009 at 07:45 AM

    Hi,

    By default SAP has given some standard queues. We can utilize those quees depending on our requirement. If you need/ require any specific queue you can create through SXMB_ADM window and after need to active the queue. For more help find below link.

    /people/sap.user72/blog/2005/12/12/how-to-prioritize-messages-in-xi

    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/59e837d3-0201-0010-c096-dc1869733413?overridelayout=true

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi All,

      A correction - We are trying to make an EOIO channel and not an EO channel.

      We tried making the sender JDBC channel EOIO and assigned a queue name for it. But when we open the channel, the following is the error we encountered.

      Error occurred while sending message (GUID 3806f907-8dd7-40fd-3899-e64e640fa4b9): com.sap.aii.af.ra.ms.api.DeliveryException: Could not assign next free EOIO sequence number for SC: OUTBOUND_FULLTICKETS_PEREGRINE__. Reason: Problem inserting 3806f907-8dd7-40fd-3899-e64e640fa4b9(OUTBOUND) into the database: java.lang.NullPointerException

      Could you please help us with a resolution for this issue.

      Thanks in advance!!!

  • avatar image
    Former Member
    Sep 29, 2009 at 11:34 AM

    Hi

    I have changed an EO interface to an EOIO in a proxy to JDBC scenario. Abap code below. This example uses the queue named 'NAMED_QUEUE'. Hope this helps.

    ....
    data: o_proxy1             type ref to zco_mi_......,
             o_async_messaging1   type ref to if_wsprotocol_async_messaging,  
    .....
      try.
    *   specify queue id ( QoS = EOIO)
          o_async_messaging1 ?= o_proxy1->get_protocol( if_wsprotocol=>async_messaging ).
        catch cx_ai_system_fault into lo_fault.
    
          l_error = lo_fault->get_text( ).
    
          if l_error is not initial.
            .......
            stop.
          endif.
      endtry.
      o_async_messaging1->set_serialization_context('NAMED_QUEUE').

    Add comment
    10|10000 characters needed characters exceeded