Monitoring trace

The Petals Component Development Framework (petals-cdk-core) provides classes for each type of trace in the package org.ow2.petals.component.framework.logger:

  • ConsumeFlowStepBeginLogData
  • ConsumeFlowStepEndLogData
  • ConsumeFlowStepFailureLogData
  • ProvideExtFlowStepBeginLogData
  • ProvideExtFlowStepEndLogData
  • ProvideFlowStepBeginLogData
  • ProvideFlowStepEndLogData
  • ProvideFlowStepFailureLogData

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.

How to add a monitoring trace:

logger.log(Level.MONIT, "", new SoapConsumeFlowStepBeginLogData(...);
The message part have to be empty.
If the send of response message is not delegate to the CDK, developper have to manually set the trace ProvideFlowStepEndLogData.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.