简体   繁体   English

WSO2 EI 处理程序

[英]WSO2 EI Handler

I need to write an Handler for the EI server and I need in this handler to access to some transport information like:我需要为 EI 服务器编写一个处理程序,我需要在这个处理程序中访问一些传输信息,例如:

  • The http return code http返回码
  • The HTTP first line of request from the client Pratically, I need the same information provided for the access log but I need it in the handler来自客户端的 HTTP 第一行请求实际上,我需要为访问日志提供相同的信息,但我需要在处理程序中使用它

You can refer to the medium article written in [1] which is used to develop a log handler.您可以参考 [1] 中编写的用于开发日志处理程序的中等文章。 Based on the requirement the handler can be modified根据要求,可以修改处理程序

[1]- https://medium.com/@snsavithrik1/custom-wso2-synapse-handler-to-log-api-related-transactions-7c2e314313c6 [1]- https://medium.com/@snsavithrik1/custom-wso2-synapse-handler-to-log-api-related-transactions-7c2e314313c6

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM