Documente Academic
Documente Profesional
Documente Cultură
1/.
Answer:
Se uential
Oracle Mediator evaluates routings and performs the resulting actions se$uentially. Se$uential routings are evaluated in the same thread and transaction as the caller
$arallel
Oracle Mediator $ueues and evaluates routings in parallel in different threads. he messages of each Oracle Mediator service component are retrieved in a weighted! round2robin fashion to ensure that all Oracle Mediator service components receive parallel processing cycles. his is true even if one or more Oracle Mediator service components produce a higher number of messages compared to other components. he weight used is the message priority set when designing an Oracle Mediator service component. 3igher numbers of parallel processing cycles are allocated to the components that have higher message priority. %ou can set the 0riorit+ field in the Mediator (ditor to indicate the priority of an Oracle Mediator service component. 1riorities can range from .ero to nine! with nine being the highest priority. he default priority is four. Oracle Mediator initiates a new transaction for processing each parallel rule. he initiated transaction ends with an en$ueue to the Oracle Mediator parallel message dehydration store. "or example! if an Oracle Mediator service component has one parallel routing rule! one message is en$ueued on the Oracle
Oracle Mediator always enlists itself into the global transaction propagated through the thread that is processing the incoming message. "or example! if an inbound 45A adapter invokes an Oracle Mediator! the Oracle Mediator enlists itself with the transaction that the 45A adapter has initiated.
Mediator parallel message dehydration store. he parallel message dispatcher to the store then initiates a transaction! reads the message from the database store! and invokes the target component or service of this routing rule. he transaction initiated by the listener thread is a completely new transaction and is propagated to the target components. Oracle Mediator propagates the transaction through the same thread as the target components while executing the se$uential routing rules. Oracle Mediator never commits or rolls back transactions propagated by external entities.
Oracle Mediator commits or rolls back transactions because it is the initiator of these transactions. 1f an o$eration or e%ent has both se uential and $arallel routin! rules2 first se uential routin! rules are e%aluated and actions are $erfor&ed2 and then $arallel routin!s are ueued for $arallel e,ecution.
11.