DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • The Real-time Data Transfer Magic of Doris Kafka Connector's "Data Package": Part 1
  • Designing a Java Connector for Software Integrations
  • Kafka JDBC Source Connector for Large Data
  • Make Your Integration Seamless By Using Ballerina Client Connectors

Trending

  • REST-Assured Configuration and Specifications: Writing Maintainable API Tests
  • Method injection with Spring
  • API Facade vs. Orchestration vs. Eventing, Now With AI in the Loop
  • Training a Neural Network Model With Java and TensorFlow

Mule CloudHub Connector: Part 2

In Part 1 of this series, we looked at two features of the Mule CloudHub Connector. Here in Part 2, explore the create, list, and mark notification features.

By 
Karan Gupta user avatar
Karan Gupta
·
Jan. 11, 22 · Tutorial
Likes (3)
Comment
Save
Tweet
Share
4.7K Views

Join the DZone community and get the full member experience.

Join For Free

In Part 1 of this series, we looked at two features of Mule CloudHub Connector. In total, there are 5 features provided by this connector as listed below:

  • Get Application
  • List Applications
  • Create Notification
  • List Notifications
  • Mark Notification

In this article (Part 2), we will look at thelast 3 features of Mule CloudHub Connector from the above list.

Create Notification:

This helps you to create a notification for an associated application in an environment. It will appear in the Runtime Manager on the top right corner as a bell icon. Below is a sample demo with connector configuration.Create Notification

HTTP Listener Config:HTTP Listener Config

Create Notification Connector Config: 

Following are the configuration details:

  • Domain: Name of the Application for which notification has to be created
  • Message: Notification Message
  • Custom Properties: Additional information about the created Notification. This detailed information is visible only using List Notification feature
  • Priority: ERROR, INFO or WARN
  • Transaction ID: Any unique ID  Create Notification Connector Config Display Application

To get this notification as part of an email alert, you can configure Alert in Runtime Manager as shown below.Configure Alert in Runtime ManagerAnypoint Platform Alert Notification

List Notification:

  • This Feature helps to list/view notifications that are created. 
  • You can filter out the data based on Read/Unread Notification or else view all the notifications. 
  • You can also filter the list based on an expression that matches the notification message. 

List Notification Config:

List Notification ConfigDisplay Name: List NotificationsGet List NotificationMark Notification:

  • This feature helps to mark Notification as Read/Unread based on the Transaction ID.

Mark Notification Config:

Mark Notification ConfigDisplay Name: Mark NotificationNotification Created Successfully

Connector (mathematics)

Opinions expressed by DZone contributors are their own.

Related

  • The Real-time Data Transfer Magic of Doris Kafka Connector's "Data Package": Part 1
  • Designing a Java Connector for Software Integrations
  • Kafka JDBC Source Connector for Large Data
  • Make Your Integration Seamless By Using Ballerina Client Connectors

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook