When you select the Advanced tab the following window will appear.

In this window you can define backup settings for the data (messages) received and setting for how the messages are to be queued in with priority relations to messages from other input definitions.
Do not save backup
Checking this option if you wish the integration server not to backup incoming (source) or outgoing (target) versions of the data, for this Input definition.
Save backup messages in specified directory
Check this option and specify where you want to save the LogSource and LogTarget backups if you do not want them saved in the default directories (...InobisIS\LogSource and …InobisIS\LogTarget).
Queue Properties
Serial processing of messages from queue
Specify if you want the incoming messages (data) to be serially processed even though the Message processing configuration in the System Configuration Program can be set to something else. If this option not is selected and the Message processing configuration (dependent on the license) is set higher than one, the messages will be processed in parallel.
Priority
This option allows you to define the messages that pass trough this Input definition to be more or less important than those of other Input definitions. The priority will be reflected in how much resources that is allocated to the messages throughout the integration. It will also effect the waiting time for the message to be processed.
Adapter priority guide
Summary
A transaction with priority "1" will always be chosen before lower priorities. When there are transactions of only priority 2-5 lower priority transactions will run less often the lower their priorities, but without blocking execution completly for transactions with the lower priority.
In depth explanation
Below is a table. Each row represent at step in a cycle that has 8 steps. Each row describes what specific priority level can be selected for execution in that particular step. The row is evaluated from left to right. The cycle repeats continuously only stopping to wait for more transactions when there are none. The goal of the cycle is to find a transaction with the appropriate priority that can be selected to continue execution in the conversion stage. If no transactions are found at a particular step the algorithm skips directly to the next step, if 8 iterations are completed with any transaction selected, we can conclude there are no transactions regardless of priority. If a transaction is found during a step in the cycle, it then means that the step is completed and the next step can begin.
| High Low B.Nor Nor A.Nor
| 1 5 4 3 2
___________________________________________
Step #1 | x x
Step #2 | x x x
Step #3 | x x
Step #4 | x x x x
Step #5 | x x
Step #6 | x x x
Step #7 | x x
Step #8 | x x x x x
(go to step #1 and start over)
To understand the how the priorities work lets go through the 8 steps.
Step #1: Look for transactions of priority 1 first, if none are found look for priority 2 transactions.
Step #2: Look for Prio 1, then Prio 3 and eventually look again for Prio 2.
Step #3: Same as step #1
Step #4: First Prio 1, then 4, 3, 2
Step #5: Same as step #1
Step #6: Same as step #2
Step #7: Same as step#1
Step #8: First Prio 1, then 5, 4, 3, 2
Consequences of this:
A transaction with priority "1" will always be chosen before lower priorities. When there are transactions of only priority 2-5 lower priority transactions will run less often but in a predicable way.
Lets look at a scenario to illustrate what priority 2-5 does.
Scenario:
4 Integrations (Int2, Int3 and Int4, Int5) using 4 different input adapters with respective priority 2, 3, 4 and 5. Each integration with a conversion that takes 1 second to complete. Server running without parallell mappings feature turned on.
100 files arrive at each of the 4 adapters (400 total). And now lets look at how many have finished after 96 seconds:
Int2 with priority 2: 48 transactions
Int3 with priority 3: 24 transactions
Int4 with priority 4: 12 transactions
Int5 with priority 5: 12 transactions
This is one out of an almost infinite number of scenarios that could occur. But it should give you some idea how the priorities work for IS:
0 Comments