Huong Dan Java Logger – Part 8 – Retrieve Message to log

As the default Mule ESB Logger component, Huong Dan Java Logger will also support the Mule Expression Language (MEL) for the message. And if the user does not configure the content of the message, then the Mule Message will be returned as a string by default.

The method to build message content to log is as follows:

In the above method, we use a LOGGER variable to log the error in the process of obtaining the Mule Message as a string, the LOGGER variable is declared as follows:

Now we can get the message to log in the Processor section:

Huong Dan Java Logger – Part 8 – Retrieve Message to log
Đánh giá bài viết
Chia sẽ bài viết này ...Share on Facebook
Facebook
3Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

Add Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.