Minggu, 09 Juli 2017

Integration to Publish Messages to Oracle Integration Cloud Service

Oracle ICS allows us Out Of The Box messaging Queue which can be use to send messages. This is one of the most useful feature of Oracle ICS.

We can create integrations that enable us to publish message to Oracle Integration Cloud Service. Messaging publishing can be achieved through the use of Oracle Integration Cloud Service Messaging.

Oracle ICS provides Publish To ICS Style/Pattern that allows us to create an integration to send message to ICS inbuilt queue without setup any messaging service.
Let's go step by step on how to create such type of an integration.

  • Login into ICS console and Click on Integration tile from the home page
  • Click on Create button from upper right corner and select Publish To ICS Style/Pattern


  • Enter information on the opened dialog box and click Create button

  • In the integration designer, drag an adapter from the Connections panel on the right to the trigger (source) area of the canvas. In this example we are dropping REST connection that we created in out previous blog
  • Enter below information and Click Next
    • Name of the end point
    • Relative URI(must start with /)
    • Select HTTP verb
    • Select Configure a request payload for this endpoint checkbox- This option allows us to assign payload in the next step
  • Select Json Sample Radio button: This option allows us to take input in json format. Select inline link to give sample payload
  • Enter sample payload and click OK
{  
   
"employeeId":"ABC@123",
   
"firstName":"Ankur",
   
"lastName":"Jain",
   
"Qualification":"MCA",
   
"Designation":"Sr. Manager"
}

  • Click Next and Done button
  • After above steps our integration will look like
  • Click on Action button and then Tracking option. This option allows us to track our integration with Business identifier.
  • Drag employeeId from left pane and drop on the first row in Tracking Field column. Select Done button
  • Select Save and Close button from upper right corner
Now integration is completed and it's time to activate the integration.
  • Select on the Activate button from integration screen
  • Select Enable Tracking & Include Payload check boxes and click Activate button
If everything goes fine, integration will be activated successfully.


That ways we have developed an integration that will publish a message on ICS queue. Now we can have one or more subscriber that will subscribe the above integration to consume the messages.

Let's see my next blog that will subscribe the above integration and consume the messages.

Tidak ada komentar:

Posting Komentar