Skip to content

nadeepoornima/MessageTracerForAPIM210

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

The Sample Custom Handler to trace the message for APIM 2.1.0

This is a sample handler to trace the message on the APIM 2.1.0.But theere is a feature to trace the messages within the APIM 2.1.0. If you use this, you can customize that as your own way.

Set up and Run

  1. First clone the project
  2. Export the project to your IDE through pom.xml
  3. Build the Jar by executing the "mvn clean install"
  4. Already run the server, then stop the server
  5. Copy the Jar to the lib folder in the APIM 2.1.0(<APIM_HOME>/repository/component/lib)
  6. Make sure to configure that handler on the synapse-handlers.xml (<APIM_HOME>/repository/conf) file as follows.
7. The message logs are only showing when the "DUBUG" is enabled on the log4j.properties file. For that, please put the following code on the log4j.properties (/repository/conf)file also. log4j.logger.org.wso2.handler.synapse.MessageIDHandler=DEBUG 8. After doing the particular changes, please restart the server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages