cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign a dedicated queue for an interface

Former Member
0 Kudos

Hi,

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

Regards,

XIer

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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').

former_member192295
Active Contributor
0 Kudos

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-dc186973...

Former Member
0 Kudos

Thanks for your replies guys, however I am aware of queue prioratization. What I wanted to know was a dedicated queue for an interface with default priority in EO or EOIO mode.

Regards,

XIer

Former Member
0 Kudos

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!!!

former_member200962
Active Contributor
0 Kudos

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-dc1...

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

Regards,

Abhishek.