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
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.
- 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.
- Build common core as jar
file.
- Add common core as
dependency in any API/domain that requires common core services
Example: Here “hello” application is using common
core flow
- Import the core flow xml
file(s) into the “Hello” mule application.
- “Hello” Mule application
can now see the “core Flow” in flow reference option.
Comments
Post a Comment