Logo

dev-resources.site

for different kinds of informations.

List of AsyncAPI servers in MuleSoft

Published at
10/22/2024
Categories
mulesoft
asyncapi
eventdriven
Author
devalexmartinez
Categories
3 categories in total
mulesoft
open
asyncapi
open
eventdriven
open
Author
15 person written this
devalexmartinez
open
List of AsyncAPI servers in MuleSoft

After the October '24 release of Anypoint Code Builder, the AsyncAPI specification/implementation process in MuleSoft now supports the following message brokers:

  • AnypointMQ
  • Kafka
  • Solace
  • Salesforce Platform Events

As I was reading through the documentation, I wasn't able to find a list of the servers that you need to set up in your AsyncAPI specification in order for the APIKit to pick up the correct configuration.

I did find, however, an example specification with the four available brokers. Thanks to this, I was able to get the list of protocols you need to use in your specifications.

Here's the example from the docs (note that this applies to version 2.6 of AsyncAPI):

servers: 
  AMQ-prod:
    url: https:://your_MQ_server_URL_here
    protocol: anypointmq
    protocolVersion: v1
    description: Anypoint MQ broker
  kafka-prod:
    url: your_kafka_URL_here
    protocol: kafka
    description: kafka broker
  sfpubsub-prod:
      protocol: salesforcepubsub
      protocolVersion: v1
      url: api.pubsub.salesforce.com
      description: Salesforce pub sub for Platform events production
  solace-server:
    protocol: solace
    variables:
      port:
        enum:
        - '1000'
    bindings:
      solace:
        msgVpn: your_solace_vpn_here
        bindingVersion: 0.4.0
    protocolVersion: 1.0.0
    url: mySolaceURL
Enter fullscreen mode Exit fullscreen mode

As we can see from the previous code, not all of them are set up the same way. For example, Solace needs way more configurations than Kafka or AnypointMQ. It also looks like the Salesforce configuration is static since it's using a specific URL.

Anyway, hope this list helps someone else out there who is not sure how to set up a specific server for your AsyncAPI specification in MuleSoft.

mulesoft Article's
30 articles in total
Favicon
Top Use Cases of MuleSoft API Manager
Favicon
List of AsyncAPI servers in MuleSoft
Favicon
Comparison Of Boomi And Mulesoft: Choosing The Right Integration Platform
Favicon
MuleSoft RPA Basics: From Start to Finish
Favicon
Quick fix: com.github.everit-org.json-schema:org.everit.json.schema:jar:1.12.2 was not found
Favicon
The Ultimate Guide to Mastering MuleSoft: Elevate Your Integration Skills
Favicon
How to Improve Productivity with MuleSoft RPA Integration
Favicon
Integration Digest: March 2024
Favicon
4 ways to retrieve your OrgID/groupID from Anypoint Platform
Favicon
An interesting Mule app to create complex MUnits
Favicon
Methods for Handling Null Values in DataWeave
Favicon
Quick guide to applying MuleSoft's API Autodiscovery
Favicon
Quick guide to secure/encrypt your properties in MuleSoft
Favicon
Integration Digest: October 2023
Favicon
Integration Digest: November 2023
Favicon
mTLS in CloudHub 2.0 : What Developers Need to Know
Favicon
Harnessing the power of MuleSoft and Hasura
Favicon
How to Set HTTP Error Responses in MUnit Testing
Favicon
Quick reference: CI/CD for a Mule app using a Connected App
Favicon
Mastering RAML Resource Naming: Best Practices for a MuleSoft Marvel! 💻🚀
Favicon
Leverage Exchange Mocking Service with Mocking Service Proxy
Favicon
Best Mulesoft Service Providers
Favicon
Using time() and duration() in DataWeave for performance check
Favicon
Deploying MuleSoft Application to Cloudhub 2.0 using Azure DevOps - Part 2
Favicon
Deploying MuleSoft Application to Cloudhub 2.0 using Azure DevOps - Part 1
Favicon
Main difference between 'do' and 'using' operators in DataWeave
Favicon
Develop your Battlesnake using a MuleSoft API & DataWeave with this starter project
Favicon
How to generate shareable link examples from GitHub to open in the DataWeave Playground
Favicon
Custom Alerts and Notifications in CloudHub 2.0
Favicon
Read this book to get started with MuleSoft! Especially if you come from a Salesforce background

Featured ones: