• Call us: +91 9501707741
  • tutorialzdiary@gmail.com

SOA SUITE 11g

SOA SUITE 11g Tutorials

Chapter 1: Introduction
Chapter 2: What is SOA Suite ?
Chapter 3: SOA Suite Architecture
Chapter 4: SOA Suite Components
Chapter 5: BPEL
Chapter 6 : Mediator
Chapter 7: Business Rules
Chapter 8: Human Task
Chapter 9: Adapters
Chapter 10: Error Handling

SOA SUITE 11g Training

Oracle SOA Suite 11g Training Course

SOA SUITE 11g Installation

Part 1: SOA Suite Server Installation
Part 2: JDeveloper Installation
Part 3: Start and Stop Server

SOA SUITE 11g Interview Questions and Answers

Part 1: SOA Suite Basics
Part 2: Installation
Part 3: SOA Suite Architecture
Part 4: BPEL
Part 5: Mediator
Part 6: Business Rules
Part 7: Human Task
Part 8: MDS
Part 9 : Adapters
Part 10 : File and FTP Adapter
Part 11 : Database Adapter
Part 12 : JMS Adapter
Part 13 : Error Handling
Part 14 : Security-OWSM

Chapter 6 : Mediator

Mediator is one of the components of the Oracle SOA Suite tool; it provides mediation capabilities such as selective routing, transformation, and validation capabilities. We use mediator when components needs to exchange information within a composite as it is very light mediation framework.

We can use mediator component to connect to different sources and consume a business event or receive a service invocation. You can use an Oracle Mediator service component to handle returned responses, callbacks, faults, and timeouts. Mediator component follow VETRO pattern, where we Validate, Enrich, Transform, Route and do Operations.

Overview

Overview

Features of Mediator

1. Content based and Header Based routing.
2. Synchronous and Asynchronous Interactions.
3. Sequential and Parallel Routing.
4. Message Re-sequencing.
5. Data Transformation.
6. Payload validation
7. Event Handling

Routing Rules

It is the core features of Mediator component – the ability to route data between a source and target. The routing is implemented by adding one or more Routing Rules to a Mediator. Each Routing Rule defines how data flows from a source to a target service, may have additional properties that defined if the data needs to be validated, filtered, and transformed.

There are two types of routing rules in Mediator:

Dynamic routing rule: These rules are used for asynchronous interactions only. Business rules are used in these rules and endpoint is determined at run time from business rules.

Static routing rule: These rules are used for synchronous and asynchronous interactions and these are defined at design time.

Further routing rules are of two types:

Sequential: As name suggested, Oracle Mediator evaluates routing and performs the resulting actions sequentially .Sequential Routing Rules execute in a single thread and transaction as the caller. Oracle Mediator always enlists itself into the global transaction propagated through the thread that is processing the incoming message. In case of exceptions it rolls back all transactions.

Sequential Routing Rule

Sequential Routing Rule

Parallel: As names suggest, Oracle Mediator queues and evaluates routing in parallel in different threads. Oracle Mediator initiates a new transaction for processing each parallel rule. In case of exceptions it roll back transactions in their own thread.

Parallel Routing Rule

Parallel Routing Rule

image_pdfimage_print

Newsletter
Training Enquiry