Monitoring trace

LogData

The project petals-commons provides  classes for each type of trace:

  • ConsumeFlowStepBeginLogData
  • ProvideExtFlowStepBeginLogData
  • ProvideFlowStepBeginLogData
  • ProvideFlowStepEndLogData

To add extra parameter to a LogData, like requestedurl in petals-bc-soap, the developer must extends the associated class and uses putData(String,Object) method.

To add a MONIT trace:

logger.log(Level.MONIT,"",new SoapConsumeFlowStepBeginLogData(...);
The message part have to be empty.

The trace ProvideFlowStepBeginLogData and ProvideFlowStepEndLogData are defined at CDK level.

If the send of response message is not delegate to the CDK (return false for the method onJbiMessage(Exchange exchange) ), developper have to manually set the trace ProvideFlowStepEndLogData.
)
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.