Recently stumbled on a functionality in Mulesoft where I had to assign unique random Id to one of the variables in my code. Generally I would have used a Java component to generate UUID and assign the same to variable in Java itself.
But, Thanks to mule's intelligent MEL one doesnt have to write most of the stuff in Java. Following is the example.
And ... That is it :) !!!!
I just wrote a small flow below to test it and seems to be pretty elegant solution ....

Executed multiple times from browser: http://http://localhost:8081/ and following is the result ... seems pretty unique !! .. Could be the smallest post on Mulesoft so far... :)
But, Thanks to mule's intelligent MEL one doesnt have to write most of the stuff in Java. Following is the example.
<set-variable variableName="RandomValue" value="#[function:uuid]" doc:name="Variable" />
And ... That is it :) !!!!
I just wrote a small flow below to test it and seems to be pretty elegant solution ....

Thank you for sharing this information on Mulesoft online training
ReplyDeleteThank you for sharing the above code it's very useful to learn Mulesoft online training
ReplyDeleteWonderful blog!!! I liked the complete article…. great written,Thanks for all the information
ReplyDeleteMulesoft Online Training Hyderabad
I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work..
ReplyDeleteMulesoft online training india
The article was very clear and it's usefull information Mulesoft Online Training Hyderabad
ReplyDeletethe blog is good and Interactive it is about Mulesoft jobs it is useful for students and Mulesoft Developers for more updates on Mulesoft mulesoft Online course
ReplyDeleteHi Chaitanya,
ReplyDeleteGratitude for putting up this prolific article! You truly make everything a cake walk. Genuinely good stuff,
saving time and energy.
MuleSoft Developer Meetups across the world had a very busy February! In fact, we had 2 Meetups per week, and four groups – Tampa, Cape Town, Charlotte, and the Online group – held their very first events. The Online group, which provides a virtual Meetup to anyone across the world, was particularly successful!
So what were Meetup leaders up to in the past few weeks? Read below to find out the top highlights from our 9 developer Meetups in February as well as insights into upcoming Meetups this month.
Very useful article, if I run into challenges along the way, I will share them here.
Shukran,
Irene Hynes
Bonjour,
ReplyDeleteI love all the posts, I really enjoyed.
I would like more information about this, because it is very nice., Thanks for sharing.
Cybersecurity solution provider Trend Micro has issued a report that highlights how chat platform APIs can and are being used by cybercriminals to achieve their nefarious objectives.
Because of the degree to which Webhook APIs are involved (an API attack vector not previously discussed on ProgrammableWeb), the warnings and incidents should serve as a wake-up call to API providers and developers when it comes to the sorts of best practices and ongoing vigilance it takes to fully secure their customers and systems.Provided that the incentives are worth it,
Excellent tutorials - very easy to understand with all the details. I hope you will continue to provide more such tutorials.
Obrigado,
the blog is good and Interactive it is about Mulesoft Developer it is useful for students and Mulesoft Developers for more updates on Mulesoft mulesoft Online training hyderabad
ReplyDeleteMulesoft Training In India
ReplyDelete24/7 Online Training | Corporate Training Videos - SVR Technologies
ReplyDeleteURL: https://svrtechnologies.com/
Description: 24/7 Online Training | Corporate Training, Videos, Job Support. SVR Technologies building careers for Software Engineers With online Training self-paced.
We are providing all IT courses. Mulesoft, Tibco, Salesforce, Mainframe, DevOps, Python, etc.
Features:
>> Live Instructor LED Classes
>> Experienced Faculty
>> Free Video materials
>> 24/7 Support
>> Flexible Timings
>> Lowest Fee
Talk To Course Advisor: +91 988 502 2027
----------------------------------------------------
Mulesoft Content:
--------
Title: MuleSoft Training | Mule ESB Training | Mulesoft Video Tutorials
SVR Technologies provide Mulesoft Training with Mulesoft Video Tutorials, Live Project, Practicals - Realtime scenarios, CV, Interview and Certification Guidance.
SVR Technologies MuleSoft training is designed according to the latest features of Mule 4.It will enable you to gain in-depth knowledge on concepts of Anypoint Studio Integration techniques, testing and debugging of Mule applications, deploying and managing the Mule applications on the cloud hub, dataweave transformations, etc. You will also get an opportunity to work on two real-time projects under the guidance of skilled trainers during this training.
Enquire Now: +91 9885022027
Enroll Now: https://bit.ly/2OCYVgv
Features:
>> Live Instructor LED Classes
>> Experienced Faculty
>> Free Video materials
>> 24/7 Support
>> Flexible Timings
>> Lowest Fee
https://svrtechnologies.com/contact-us/
Thanks for sharing such an useful and nice info...
ReplyDeleteMulesoft Online Training
nice blog, it is really an incredibly written blog, I will wait for your next blog.
ReplyDeleteMulesoft Online Training
Mulesoft Training in Hyderabad
Informative blog. Thank you for sharing with us..
ReplyDeleteMulesoft Online Training
Tech Center Point is globally professional in Mulesoft courses training which emphasize hands on training with real time use cases.
ReplyDeleteMulesoft DataWeave online training
Mulesoft RAML online training
MuleSoft Training
Thanks for sharing valuable information and very well explained. keep posting.
ReplyDeletemulesoft online training in Hyderabad
mulesoft online training hyderabad