User Tools

Site Tools


cookbooks:5.4.x:core

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cookbooks:5.4.x:core [2021/05/12 13:07]
giavac [snd_port]
cookbooks:5.4.x:core [2021/05/12 13:35] (current)
giavac [kemi.received_route_callback]
Line 542: Line 542:
 ==== to_ip ==== ==== to_ip ====
  
 +In **onsend_route** it contains the destination IP address where the message will be sent to.
 ==== to_port ==== ==== to_port ====
  
 +In **onsend_route** it contains the destination port where the message will be sent to.
 ==== to_uri ==== ==== to_uri ====
  
Line 681: Line 683:
 The variable can be used to test if the host part of an URI is in the list. The usefulness of this test is to select the messages that has to be processed locally or has to be forwarded to another server. The variable can be used to test if the host part of an URI is in the list. The usefulness of this test is to select the messages that has to be processed locally or has to be forwarded to another server.
  
-See "aliasto add hostnames,IP addresses and aliases to the list.+See **alias** to add hostnames, IP addresses and aliases to the list.
  
 Example of usage: Example of usage:
Line 992: Line 994:
 ==== kemi.received_route_callback ==== ==== kemi.received_route_callback ====
  
-Set the name of callback function in the KEMI script to be executed as the equivalent of `event_route[core:msg-received]` block (from the native configuration file). For execution, it also require to have the received_route_mode global parameter set to 1.+Set the name of callback function in the KEMI script to be executed as the equivalent of `event_route[core:msg-received]` block (from the native configuration file). For execution, it also requires to have the **received_route_mode** global parameter set to 1.
  
 Default value: none Default value: none
Line 1001: Line 1003:
  
 <code c> <code c>
-kemi.received_route_callback="ksr_my_receieved_route"+kemi.received_route_callback="ksr_my_received_route"
 </code> </code>
  
cookbooks/5.4.x/core.1620817671.txt.gz ยท Last modified: 2021/05/12 13:07 by giavac