Skip to content

Test_Find_Queue__

Used for testing and benchmarking the pre-routing functionality, i.e. the Find_Queue___ method that returns a queue after pre-routing based on parameters Message Function, Message Type, Sender and Receiver.

FUNCTION Test_Find_Queue__ (  
   message_function_  IN   VARCHAR2,  
   message_type_      IN   VARCHAR2   DEFAULT NULL,  
   receiver_          IN   VARCHAR2   DEFAULT NULL,  
   sender_            IN   VARCHAR2   DEFAULT NULL,  
   in_order_          IN   BOOLEAN    DEFAULT FALSE ) RETURN VARCHAR2;

Parameters

message_function_
    BizAPI name or message function.

message_type_
    Optional message type.

sender_
    Optional identity of sending organization.

receiver_
    Optional identity of receiving organization.

in_order_
    Flag denoting if the message should be put to an InOrder queue. Default FALSE. If TRUE and it is not possible to find a queue or the found queue is not InOrder, an exception will be raised..

Return

Returns the queue found in the routing rules.

Example

SQL>set serverout on  

SQL>execute dbms_output.put_line(plsqlap_server_api.test_find_queue__('SEND_VOUCHER'));  
OUT2  

PL/SQL procedure successfully completed.