MuleSoft ESB

MuleSoft AnyPoint Studio

Build failed when (i.e unable to download mule runtime and mule dependencies) running mule project with Anypoint studio for first time  using  RunAs-->Mule Application with Maven.

Resolved the build issue by navigating to Mule-->Populate Maven Repository
above action downloaded all mule dependencies to local repo(.m2 folder)




















Sharing Common/Custom code or Flows in different Mule applications


Referring common  core mule flows/subflows or Java classes ( example: reading common header, cookies, logging ) across different mule applications.

  1. Create common core mule project(candidate  flows/subflows and java classes used across different domains, like security, logging, headers etc).
Example: core project defining “set Payload” to demonstrate usage.

                     


  1. Build common core as jar file.
             
 

  1. Add common core as dependency in any API/domain that requires common core services
Example: Here “hello” application is using common core flow



  1. Import the core flow xml file(s) into the “Hello” mule application.
            
   

  1. “Hello” Mule application can now see the “core Flow” in flow reference option.


Comments

Popular posts from this blog

Mulesoft Certified Developer-Level2 - Study Material

Mule4- Salesforce Connector- Version-10.4.2 - Create job bulk api v 2 - ClientInputError:LineEnding is invalid on user data. Current LineEnding setting is LF

Salesforce Certified MuleSoft Platform Architect - Level1 - Reference Notes