We generally use File Connector in mule applications for managing files and folders on a locally mounted file system.

File connector support for common FTP operations such as creating directories and copying, moving, renaming, and deleting files. Based on the different FTP operations, we can route to each connector (same set of operations available )like copy, creating new directory , delete, read and write.
It’s also support for locking files and file matching functionality(Matching rules).

It mainly has the below key features :

  • List : List all the files from a given directory
  • Copy: Copies a file from one directory…


Specific request URL:

1. Click on code

2. Choose the language(HTTP, Curl)

3. Copy the code and paste into .txt file and share.


Prerequisites:

  1. AWS SQS queue set up
  2. Log4j configuration
  3. Maven configuration

Enablement :

AWS Simple Queue Service set up:

Step 1: Once you logged in AWS account, navigate to IAM service from AWS console and check

if any IAM user exists or create a new IAM user


Synopsis

Requirement: I want to disable CloudHub logs and integrate CloudHub application with external logging system (ex: Splunk). All MuleSoft application’s logs should flow to both the log system and CloudHub.

Solution: Yes, We can achieve this integrating mule application with external logging system (example: Splunk) by configuring Log4j.xml. Hence, you can enable custom logos of your applications.

Perquisites

1. Configuring Log4j.xml

2. Adding Maven dependency in application pom.xml

3. Disabling CloudHub logs in Cloudhub.

Create Your Log4j Configuration

Let’s understand the Log4j configuration a little bit.

Under Package Explorer, mule project > src/main/resources you will get the Log4j.xml for a specific project.


Anypoint Platform’s hybrid cloud functionality, built into Mulesoft hosted control plane and customer hosted runtime plan without iPass Facility, allows organizations to run the same APIs or applications across multiple cloud environments or on-premises.

Anypoint Platform enables the creation of a hybrid infrastructure with the following capabilities:

· Run apps on-premises, on MuleSoft’s CloudHub or any other public or private cloud

· Manage runtimes across a hybrid IT environment from a single management view

· Deploy apps between cloud and on-premises environments without code alteration

· Reduce operational costs by deploying apps and APIs in Dockerized containers

Prerequisites:

1. Anypoint Cloudhub…


Let’s discuss how to resolve the error “Hyper-V service is not available” or “Hyper-V Virtualisation id disabled” while installing docker in windows 10


Introduction:

Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day. Continuous Delivery (CD) is the ability to get changes of all types including new features, configuration changes, bug fixes and experiments into production. Jenkin is a highly used automation tool to implement the CI/CD.

Core steps to implement Jenkins CI/CD:

1. Mulesoft Anypoint CloudHub set up

2. GitHub configuration

3. Jenkins configuration

4. Maven-plugin setup in Mulesoft Project

Mulesoft Anypoint CloudHub set up:

Enlist the below information from mulesoft Anypoint account

  1. Navigate to https://anypoint.mulesoft.com
  2. Check your Anypoint credentials ( username and password)
  3. Deployment environment…


Problem statement :

I have defined a few global configurations such as default error handlers, shared properties, scheduler pools, Database connection and a few connector configurations which are common among all the applications deployed on mule on-premise ( example-Azure).

What if I need to update a few of the global properties and configurations, do I need to update all of the deployed applications one by one or is there any simple way to achieve this?

Solution:

Yes! Absolutely this can be achieved using a mule domain project.

To do so, first, create a Mule domain and define all your common global properties in this…


Secure Property is a very unique way of keeping our sensitive data like Client Id and Client Password secure (encrypted/cipher-text) in the mule property file. We can use .yaml or .properties file to achieve this.Generally in properties files we store information like Client id, Secret, User Id, User Password, Splunk Tokens, Oauth Token, AWS Keys etc.

We need to encrypt the data inside any property files to restrict unauthorised access and to protect the data.

Let’s discuss how to achieve this using MuleSoft’s Secure Property Placeholder.

To create secure configuration properties, review the following steps:

Step- 1: Create a configuration properties file.

Step- 2: We can encrypt the whole…

Priyanka Paul

Hello Techies, I love to learn and grow. Currently working as mulesoft Developer @Salesforce . I have experience in both backend(java) and middleware (MuleSoft)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store