Class LogRecord

java.lang.Object
org.chenile.core.context.LogRecord

public class LogRecord extends Object
This is the version of the GenericResponse for asynchronous processing.
In case, the medium of invocation is asynchronous and the output cannot be captured then this record must be logged in a file or queue or topic somewhere so that a retry mechanism can be implemented using a workflow.
  • Field Details

    • success

      public boolean success
    • responseMessages

      public List<ResponseMessage> responseMessages
    • serviceName

      public String serviceName
    • operationName

      public String operationName
    • moduleName

      public String moduleName
    • headers

      public Map<String,Object> headers
    • request

      public Object request
    • response

      public GenericResponse<?> response
    • originalSource

      public String originalSource
      Indicates what is the original Source of this request. This will be the same as the entry point of this request.
    • originalSourceReference

      public String originalSourceReference
      Indicates what is the reference in the original source. This is required for tracing the request back to where it originally got created. (for example file1: line 23 or topic name etc.)
    • exception

      public ErrorNumException exception
  • Constructor Details

    • LogRecord

      public LogRecord()