Log In to start Learning

Login via

  • Home
  • Blog
  • Understanding the Architect...
Post By Admin Last Updated At 2021-11-15
Understanding the Architecture of the OSB

This blog gives an intro to Oracle Service Bus' architecture. Plus, it will highlight working skills. So, it allows for quick service integration, deployment. As well, control across a diverse IT environment. It has an aim towards IT architects. So, they are in charge of messaging and SOA. In addition, have an interest in integration.

osb architecture

What is OSB?

Oracle Service Bus, sometimes known as OSB. So, it is a version of Oracle's Enterprise Service Bus. When Oracle purchased BEA Systems, it acquired OSB. So, before known for AquaLogic Service Bus.

Moreover, by linking, and controlling interactions between apps. Thus, Oracle Service Bus alters the base.

Interacts across many services, legacy apps, & ESB instances. Thus, by connecting, mediating, and managing interactions.

OSB is a contact backbone. So, it allows links to transport and routed throughout a firm. It's built for high-volume, dependable message delivery. So, to a wide range of service providers and users.

It supports XML as a native data format. But, it accepts more data types. It acts as a mid, processing incoming service request messages. Also, executing routing logic, and, if necessary, transforming them. It can also switch between several transport protocols. E.g., HTTP, JMS, File, FTP, and so on.

Enroll in our Oracle OSB Online course at the IT Guru platform to boost your career skills.

Overview of the Architecture

Oracle Support ESB is at the heart of the bus architecture. The bus offers message delivery services relying on SOAP, HTTP, & JMS. It's usually designed for high volume. Also, assured message delivery to a wide range of service providers and users. It supports XML as a native data format. As well, offers options for dealing with other data types.

Oracle Service Bus is policy-driven. So, allowing you to couple service clients and business services. But, retaining a single point of security and monitoring. It uses metadata. So, they can maintain a permanent policy, proxy service, & resource settings. So, this can change and diffuse from growth to staging. Further, making situations as needed. This info retrieves from the message-brokering engine's metadata cache.

Oracle Service Bus acts as a middleman. So, processing incoming service request messages, routing logic. Further, convert them for inter-utility with other service users. It accepts messages over HTTP(S), JMS, File, & FTP. Further, transmits them using the same or a different transport protocol. The reversed route is by service response messages. Oracle Service Bus processes messages based on metadata. So, it defines in a proxy service's message flow report.

The Basics of Architecture

The major structural principles of OSB describe in this section.

Message Processing

Data info of app operations, directions for the receiver. Also, both can include in messages. OSB allows you to route messages depending on their content and alter them. OSB transport and binding layers are to carry out the process.

The following is the sequence of events. It occurs during message action:

The incoming shipment process

Execution of the message flow 

Process the outbound shipment.

Oracle Service Bus handles the response message. They handle similar to that set out in the previous sequence of events. Sometimes a message delivers to an endpoint. (a commercial service or a different proxy service).

From incoming endpoint (proxy service) to outward endpoint (OSB). So, the following diagram depicts a high-level message flow process. (URL for a service transfer - a business service or some other proxy service).

Each of the layers involved in message processing describes below.

Binding Layer

The layer that binds everything hands in hand:

When needed, packs and unpacks messages

Is in charge of message security

Message forwards over to begin the flow of connection. (request and response).

Inbound Transport Layer

The inbound layer is the link-layer between OSB and client services. (or service consumers). It is in charge of contacting the service client endpoint. Thus, serves as the message entry point for Oracle Service Bus. Inbound transport layer deals largely with raw bytes of messages. So, these data are in the form of input/output streams.

It supports HTTP(S), JMS, FTP, File, & E-mail. As well, other appropriate transport protocols. It does not process data. But, is in charge of returning response messages to service users. Further, handling message meta-data. For example, endpoint URIs, transport headers, and so on.

Outbound Transport Layer

The outbound layer is in charge of contact between OSB and business services. (or service providers). It's in charge of routing messages from OSB to business services. Or proxy services. As well, receiving responses from them. At the transport level, the message data is in raw bytes. It is in the form of input/output streams. Compatible transport protocols. E.g., HTTP(S), JMS, FTP, File, & E-mail, get support from the outgoing transport layer. It does not process data. But, manages message meta-data. Such as endpoint URIs, transport headers, and so on.

Proxy Services

Proxy services are a core unit in the OSB architecture. They're the user interfaces. It links service users to managed back-end services. Proxy services are the local fruition of mid Web services. So, they defined by the Service Bus. The OSB Console enables you to define a proxy service's interface WSDL. Further, the kind of transport it utilizes. When creating a proxy service, message processing logic describes in message flow details.

Context of the Message

A proxy service's context is a collection of XML variables. So, they shared throughout the request and response flows. New variables may add or remove from the context on the fly. The message, security, metadata for the current proxy service. As well, metadata for the major routing. Further, publishing services called by the proxy service. So, these are all stored in predefined context variables.

XQuery expressions can read & change the context. Further, change and in-place update actions can change it. The variable's header, body, and attachments make up the context's core. The SOAP header components, SOAP body element, & MIME attachments are some elements. So, these are all stored in these wrapper variables. All links seem to be SOAP messages and non-SOAP messages. So, these map to this paradigm, according to the context.

A proxy service designs with an interface. So, they are independent of the business services it talks with. But, since it can route messages to many business services. The proxy service may configure as a message-flow definition. It directs messages to relevant business services. It depends on content-based routing logic using proxy templates. A proxy service may convert message data into protocol formats. So, these needed by the end-point business service. Thus, provide for dynamic protocol switching in real-time.

Definitions of Message Flow

A message flow description specifies how a proxy service is carry out. The request and response flow via the proxy service can define by it. A message flow involves the four pieces listed below:

One pipeline is for the request, while the other is for the answer. Pipelines consist up of a series of phases. It defines what actions should take during request or response processing.

A branch node that allows you to branch. It depends on values in specific portions of the message. So, it relies on the operation.

The message destination can define by a route node. An echo node is the default route node. So, it responds by echoing the request.

A node that serves as a starting point.

The start node and the route nodes may join. So, in any manner to construct a tree structure. Thus, with the start node always (and only) appearing as the tree's root. Route nodes or echo nodes can find at the end of a branch (leaf nodes). 

The request message begins at the start node. Further, proceeds through the request pipelines. Thus, performing operations at each node along the way. A response is present if the leaf is a route node. It could be empty if the service is a one-way service. The request is also to review the answer if the leaf is an echo node. In the tree, the response takes the opposite direction. So, bypassing operations in branch nodes. But, Performing actions in response pipelines.

If the action was request, a response is yet sent from the top of the tree. Else, the answer will reject.

Before the message deliver to the assigned endpoint. So, a set of shifts that change context variables may define. To set the context variable, a Web services callout with Query / XSLT.

When calling a business service with a WS policy. WS-Security processing and approval are handled at the Start node.

Oracle Service Bus's main benefits
Virtualize of Services:

The ability for any service user to reach any service provider from any platform. So, it is a basic concept of SOA. This is a crucial notion in OSB. Thus, it offers a reliable method of reviving the service. It's a fantastic addition to SOA Architecture. 

Coupling That Isn't Tight:

Further, mediating between the Service provider and the user. OSB enables loose coupling. Without mediation, both the user and the provider will become reliant on one another. A change in the one side provider/consumer. So, this will result in a change in the dependent consumer/provider. OSB connects the dots between transit, format, and security tech.

Transparency of the location: 

It's a technique for keeping the real physical address of service endpoints hidden. So, they hide it from the Service Consumer. For any service, only one logical machine and port name know by all service users. This gives you more options when it comes to controlling your services. Without having to update your service consumer, you may add, move. Also, delete service endpoints as required.

Seamless Link:

While new apps may expose services using standard, consumable interfaces. E.g., SOAP, the vast bulk of corporate services, from mainframes to bespoke apps. So, these are still trapped in old systems. An OSB's is to make sure that all these existing assets are accessible. Through adapters such as Siebel Adapter, People soft, and others. So, an OSB offers ample and broad connection options to standard interfaces. For example, SOAP, messaging, etc. As well, packaged applications and legacy systems.


The next job after achieving seamless connection is to ensure that data and messages flow dependably. OSB provides transit that is efficient, secure, and dependable. OSB also has advanced routing skills. It helps for determining where the data should send. Headers, content, and other external rules may all be useful to route traffic.


OSB is stateless and lightweight. And as a result, it performs well under stress.

Policy & Security:

OSB offers a centralized method of setting up Security for Integration. Thus, resulting in the greatest degree of security standards and control. Because it enables security aspects to install outside the app. Also, it is simple to maintain, policy-driven frameworks. So, these are the ideal way to enforce security.

Polling in the Service:

Service polling is possible with Oracle Service Bus. This enables OSB to identify active services. Further, remove them from the list naturally. This has a big influence on how well you do.

Failover and load balancing:

To load control between endpoints, OSB provides a variety of load balancing techniques. It detects a failover & replaces it all from load balanced URLs.

Throttling of Service:

Oracle Service Bus now has a new feature called service throttling. So, this enables you to limit the demand on a certain service. When it comes to Service uptime, this is very valuable. 


Oracle Service Bus has a two-way monitoring system.

||{"title":"Master in Oracle OSB", "subTitle":"Oracle OSB Certification Training by ITGURU's", "btnTitle":"View Details","url":"https://onlineitguru.com/osb-training.html","boxType":"reg"}||

Proactive Monitoring:

The integrator may verify the performance of the service bus. Moreover, they watch the dashboard. So, this can assist tune the server more efficient way. Monitoring server full performance. So, this may aid in capacity planning before time.

OSB will check the server & check for a specified state to occur. So, it will no doubt send an alert to users, heads, and others. Alerts can sent by email, JMS, SMS, and other methods.

Message Validation:

Oracle OSB supports both data-level and Schematron validation.

Added Value Feature: 

Domain Value Map support

Cross-Reference Support

Package Application Adapter Support

In the financial services domain, support for advanced messaging formats. For example, SWIFT and FIX is available.


As a result, you have learned about the many parts of OSB Architecture. It employs certain generic contact protocols to expedite. Also, this simplifies the integration of various apps. Each service in this framework serves a single purpose. As a result, we may employ OSB in a variety of ways.

Enroll in the Oracle OSB Online Training with the IT Guru to learn more. This knowledge may change the way you think about a future in OSB.