Which component is used for schema validation and routing incoming Mule messages against RAML?
APIkit Router.
Mule provides APIkit Router for Schema validation and routing the incoming Mule messages, serializing responses, validating payloads, Query parameters, URI parameters against RAML.
Can you create a custom connector?
Yes.
When an API specification is published to Anypoint Exchange, it automatically generates a connector for it.
What is the purpose of a domain project?
The main purpose of a domain project is to have all the globally shared configurations for the projects. All the shared resources can be configured in a domain project. Mule applications can be associated only with one domain project. However, a domain project can be associated with multiple mule applications.
How do you override application properties?
You can configure your Mule application to automatically load properties from properties files based on different environments (Production, development, testing, QA) using property placeholders.
1. Create a properties file for each development environment in your Mule application.
2. Configure a property placeholder in your application to look for the environment at the time of launch.
3. Set environment variable one each for the different environment.
The property placeholder will then take up an environment variable value and based on that use the properties file.
Comments
Post a Comment