Business Transactions
In OCS.io, a Business Transaction refers to the process of publishing data about entities that are created or changed within the OCS.io. This publication occurs in response to specific events or triggers, ensuring that external systems are kept up to date with the latest information.
When a business transaction occurs in OCS.io, the system generates a message that contains relevant data about the entity that was created or changed. This message is then published to a configured Pub-Sub Endpoint, making it available to any external systems that are subscribed to the topic.
Business transactions in OCS.io are highly configurable, allowing users to define the specific events that trigger a publication, as well as the data that is included in the message. This flexibility ensures that external systems receive the precise information they need to take appropriate actions in real-time.
Key aspects of business transactions in OCS.io include:
-
Event-Driven: Business transactions are triggered by specific events within the OCS.io, such as the creation of a new customer, an update to a subscription, or a change in account balance.
-
Data Publication: When an event occurs, OCS.io generates a message containing relevant data about the entity involved in the transaction. This message is then published to a Pub-Sub Endpoint.
-
Real-Time Updates: External systems subscribed to the Pub-Sub Endpoint receive the published messages in real-time, allowing them to take immediate action based on the latest information.
-
Configurable: Users can configure the events that trigger business transactions, the data included in the messages, and the Pub-Sub Endpoints to which the messages are published.