In this blog, I'm going to explain how to undeploy a flow in a clean way.
When we are starting a 'Anypoint studio', we have to choose the workspace.
For this explanation, we will assume that
1.our workspace as below
create a project as 'demo-http'
Once we run this application as 'Mule Application', we can see that, it creates the below file and folder inside the '/home/tharanga /AnypointStudio/workspace/. mule/apps' location.
To undeploy this flow, you can delete the <project_name>-anchor.txt file. According to this example file would be demo-http-anchor. txt
Note: anchor file location path would be <Anypoint_studio_workspace>/. mule/apps
Note: Inside the anchor file you can see the below content.
Enjoy...!!
When we are starting a 'Anypoint studio', we have to choose the workspace.
For this explanation, we will assume that
1.
/2./ home /AnypointStudio/workspace tharanga
Once we run this application as 'Mule Application', we can see that, it creates the below file and folder inside the '/home/
-x 5 drwxrwxr tharanga 4096 ජූලි 19 19:58 demo-http/ -rw-rw-r-- 1 tharanga tharanga 77 ජූලි 19 19:58 demo-http-anchor tharanga . txt
Note: anchor file location path would be <Anypoint_studio_workspace>/
Note: Inside the anchor file you can see the below content.
Delete this file while Mule is running to remove the artifact in a clean way.
Enjoy...!!
Nice article, it is very useful for everyone. Thanks for sharing your valuable information and time
ReplyDeleteMulesoft Online Training
Mulesoft Training in Hyderabad