• Private Policy
  • Contact
Follow me
  • English
  • Tiếng Việt
Huong Dan Java
  • Java
    • Java Core
    • Java Lambda Expression
    • Java Fundamentals
    • Java Stream
    • Java Tools
    • Java XML
  • Jakarta EE
    • CDI
    • JSON Binding
    • JSON Processing
    • MVC
    • Persistence
    • RESTful Web Services
    • Servlet
  • Frameworks
    • Apache Camel
    • Apache Struts
    • Javalin
    • gRPC
    • Hibernate
    • Micronaut
    • MicroProfile
    • Mule Enterprise Service Bus
    • OpenId Connect
    • Quarkus
    • Spring
      • Spring AI
      • Spring Authorization Server
      • Spring Boot
      • Spring Cloud Gateway
      • Spring Cloud GCP
      • Spring Cloud Netflix
      • Spring Data JPA
      • Spring Data MongoDB
      • Spring Data R2DBC
      • Spring for Apache Kafka
      • Spring GraphQL
      • Spring Framework
      • Spring Integration
      • Spring MVC
      • Spring Security
      • Spring Session
      • Spring WebFlux
      • Spring WebSocket
    • Spark
    • Vaadin
  • Libraries
    • Apache
      • Apache ActiveMQ
      • Apache Commons IO
      • Apache FreeMarker
      • Apache HTTP Components
      • Apache Ignite
      • Apache Tiles
    • AspectJ
    • Database Migration
    • EhCache
    • GraphQL
    • Jackson
    • JSch
    • Log4J
    • Project Lombok
    • Project Reactor
    • Quartz Scheduler
    • Thymeleaf
    • Resilience4j
    • RxJava
  • Testing
    • Mockito
    • PowerMock
    • Selenium
    • Testcontainers
  • Open Source
    • Apache APISIX
    • Apache Kafka
    • Debezium
    • Distributed Application Runtime
    • Grafana
    • Keycloak
    • Prometheus
    • RabbitMQ
    • Redis
    • SonarQube
  • DevOps
    • Cloud Foundry
    • Cloud Provider
      • Google Cloud Platform
    • Docker
    • Helm
    • Kubernetes
    • Jenkins
    • Nexus Repository Manager
    • OpenShift
  • Tool
    • Apache Ant
    • Apache Maven
    • CVS
    • Eclipse
    • FTP
    • IntelliJ
    • Git
    • Nginx
    • OpenAPI
    • RAML
  • Database
    • MongoDB
    • MySQL
    • PostgreSQL
  • Server Runtime
    • Apache Tomcat
    • JBoss WildFly
  • Others
    • JavaScript
    • Huong Dan Java Logger
    • Algorithm
    • mvnForum
    • Questions Management
      • Questions Management – Stage 1
      • Questions Management – Stage 2
  • Books

Anypoint Devkit

Huong Dan Java Logger – Part 10 – Return payload after logging

Huong Dan Java Logger – Part 10 – Return payload after logging

7 years ago by Khanh NguyenHuong Dan Java Logger

Let’s imagine, Huong Dan Java Logger is an endpoint in a Mule Flow. When Mule Flow processes the request to the Huong Dan Java Logger endpoint, it executes all the lines of code contained in the log() method of the HuongDanJavaLoggerComponentConnector class. After the execution… Read More

Huong Dan Java Logger – Part 9 – Do logging

Huong Dan Java Logger – Part 9 – Do logging

7 years ago by Khanh NguyenHuong Dan Java Logger

Which logging log level will depend on the configuration of the user when they use Huong Dan Java Logger and more importantly whether the logging level is enabled in the Logging Framework configuration file? Therefore, we need to write a new method to test these… Read More

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

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

7 years ago by Khanh NguyenHuong Dan Java Logger

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… Read More

Huong Dan Java Logger – Part 7 – Access Correlation Id from log message

Huong Dan Java Logger – Part 7 – Access Correlation Id from log message

7 years ago by Khanh NguyenHuong Dan Java Logger

Adding the Correlation Id to the log message will help us to identify which request is experiencing a problem in case our Mule ESB application fails. I will use the Mapped Diagnostic Context of the Logging Framework to pass the Correlation Id’s information to the… Read More

Huong Dan Java Logger – Part 6 – Retrieve Correlation ID and Category from the configuration

Huong Dan Java Logger – Part 6 – Retrieve Correlation ID and Category from the configuration

7 years ago by Khanh NguyenHuong Dan Java Logger

After the user has configured Huong Dan Java Logger, processing to retrieve the final value of Correlation Id and Category is necessary. Because in the Global Configuration, the value of these two cells is mandatory, so these will be the default values for these two.… Read More

Huong Dan Java Logger – Part 5 – Add UI for main configuration

Huong Dan Java Logger – Part 5 – Add UI for main configuration

7 years ago by Khanh NguyenHuong Dan Java Logger

A Logger component, in addition to the message, log level and category section (which I have included in the Global Configuration section) must have, with Huong Dan Java Logger, I’ll add another section related to overriding the values of Category and Correlation Id that we… Read More

Huong Dan Java Logger – Part 4 – Build Global Configuration

Huong Dan Java Logger – Part 4 – Build Global Configuration

7 years ago by Khanh NguyenHuong Dan Java Logger

Mule’s default Logger component is too simple to include only the log message, category, and level of that message. And with this layout, you can see, whenever adding a new endpoint Logger in a Mule Flow, you have to configure the Logger’s Category again. What… Read More

Huong Dan Java Logger – Part 3 – Change Mule Category for Logger

Huong Dan Java Logger – Part 3 – Change Mule Category for Logger

7 years ago by Khanh NguyenHuong Dan Java Logger

The Huong Dan Java Logger only uses the Logging Framework to log information that the user needs to log. The default category of Anypoint Devkit (Connectors) is unreasonable. Therefore, I will use the annotation @Category of Mule ESB to adjust. You can refer to the… Read More

Huong Dan Java Logger – Part 2 – Change Logger name and package name

Huong Dan Java Logger – Part 2 – Change Logger name and package name

7 years ago by Khanh NguyenHuong Dan Java Logger

After creating the new Anypoint Connector Project, the first two things we want to do immediately are to change the base package name(currently the base package name is too long: com.huongdanjava.huongdanjavaloggercomponent 🙂 ) and change the name of Huong Dan Java Logger from HuongDanJavaLoggerComponent to… Read More

Huong Dan Java Logger – Part 1 – Initialize Anypoint Connector Project for Logger

Huong Dan Java Logger – Part 1 – Initialize Anypoint Connector Project for Logger

7 years ago by Khanh NguyenHuong Dan Java Logger

In order to build a Connector in the Mule ESB, the first thing we need to do is: create an Anypoint Connector Project. I had a tutorial guide you all how to create an Anypoint Connector Project, in this tutorial, I just point out some… Read More

  • 1
  • 2
  • Next

Spring Authorization Server Ebook

Search Google


Announcement

  • Contact Form error should be fixed(20 July, 2021)

Most Viewed

  • Install Node.js on macOS (443,661)
  • Contact (71,526)
  • Push a local GIT repository into a remote GIT repository (60,890)
  • Ignore case sensitive for table name in JPA with Hibernate implementation (36,108)
  • Access HttpServletRequest and HttpServletResponse in Spring MVC controller (33,554)
  • Implement OAuth Authorization Server using Spring Authorization Server (32,347)
  • Some ways to initialize Optional object in Java (28,048)
  • Get base URL in Controller in Spring MVC and Spring Boot (27,919)
  • Get access token using refresh token with Keycloak (24,795)
  • mvnForum 0.0.4 released (23,765)

Recent Comments

  • Raj on Generate JSON data using Java class annotated with JAXB annotation, using Jackson library
  • khoannh on Git
  • Maxi on Configure Web Origin in Keycloak
  • Binod on Store RegisteredClient to database in Spring Authorization Server
  • Khanh Nguyen on “Spring Authorization Server – From the basics – Second Edition” Book

Links

  • Huong Dan Kotlin

Twitter

Follow @KhanhNguyenJ
  • Private Policy
  • Contact
Theme: GoMedia by ThemeJunkie. Back To Top