Wednesday, November 27, 2019

OIC - Publish to OIC and Subscribe to OIC

Usecase: Here, I will show you how to publish a SOAP meesge to a OIC inbuilt JMS topic and then subscribe message from that topic.

Publish to OIC:
Designer⇾Integrations⇾Create
 Select Publish to OIC Style
 Provide Name and description
 Pulish canvas opened
 Drag and Drop the Trigger SOAP connection. Click here oic-soap-trigger-type-connection for steps.

Provide Endpoint Name and Function details.
Next
Next
Next

Use the Tracking field


Publish to OIC is ready
Subscribe to OIC:
Create
Select Subscribe to OIC Style
Provide Name and Description
Select the Publish integration.

Select the DB connection
Here I choose "Perform an Operation On a Table"
Select Table


Create a Map
Mapping done for each employee

Publish and Subscribe are ready. Just activate



Open the publish WSDL in SOAPUI
Add New basic Authorization

Test


Notes:
  1. The messages are pushed to JMS topic that means one published message can be subscribed by more than one subscriber.
  2. Suppose we have more than one subcriber and one or couple of subscribes are down, then if we publish any messgae that will be lossed permanently for those inactive subscribers. This is really a reliability concern while using a PUB SUB model in OIC.

No comments:

Post a Comment

Featured Post

End to End Securing Data in Oracle Integration Cloud (OIC) with OCI Vault: AES for Encryption & Decryption & RSA for Signing and verification | Implement message-level encryption in Oracle Integration using OCI Vault

Scenario: A company is integrating Oracle Integration Cloud (OIC) with an external financial system to exchange sensitive payroll data secur...