Skip to main content

Hi,

I have used plsqlap_server_api.post_outbound_bizapi to build an XML message to send to the OUT1 queue.

The Application message generates the problem is on processing it can’t find my routing rule.

I have used the condition of MESSAGE_FUNCTION must equal BIZAPI name, I have occurrences where it errors and says Bizapi not found in your application and some times it will process with an address but not display the routing rule where used.

 

Is there a cache of some description that holds previous routing rule and address values they don't appear to be working everytime I update routing rules.

 

Many Thanks,

Hi @WyrAndreM ,

 

Use message_type_     => 'EVENT_BIZAPI'  in PLSQLAP_Server_API.Post_Outbound_Bizapi if you don’t have a BIZAPI with the name but only use it as a placeholder for routing

 

Sample code

PLSQLAP_Server_API.Post_Outbound_Bizapi(message_id_       => message_id_,
bizapi_name_      => 'BIZAPI_NAME',
          xml_              => xml_,
receiver_         => 'RECEIVER_NAME',
message_type_     => 'EVENT_BIZAPI',
subject_          => ‘Test Message’);

 

Cheers!

DSJ


Hi Dsj,

 

Thanks for the reply I have had errors where is says message of type Application_Message has no condition rules. If I hit re route a couple of times it will return.

 

Thanks,


What version of IFS are you using?

 

The post message API has differenced between 7/8/9/10


Hi Mike, 

Thanks for the reply the version is 9.

There is a very sporadic success rate on the send and it being picked up via JMS which is strange due to parameters being exactly the same on every send.


Reply