Class MQConfigurationPropertiesTrace

java.lang.Object
com.ibm.mq.spring.boot.MQConfigurationPropertiesTrace

public class MQConfigurationPropertiesTrace extends Object
This class gives a way of configuring MQ JMS trace and logging parameters in a Spring style rather than needing additional external files and properties. See https://www.ibm.com/docs/en/ibm-mq/latest?topic=tmcja-collecting-mq-classes-java-trace-by-using-mq-classes-java-configuration-file#q131540_ and https://www.ibm.com/docs/en/ibm-mq/latest?topic=mcjcf-using-java-standard-environment-trace-configure-java-trace These properties can be in a file pointed to by the com.ibm.msg.client.config.location system property whose value is a URL. If it's in a file, the URL must begin "file:" - there's no default of the protocol. But here, we're setting things directly as system properties. Not all of the available properties are exposed. On the other hand, we have options that refer to both FFST and FFDC as there is inconsistency in the Java packages. Both variables will map to the same known property. For consistency in this code, I'm always really working with the FFDC variables.
  • Field Details

  • Constructor Details

    • MQConfigurationPropertiesTrace

      public MQConfigurationPropertiesTrace()
  • Method Details

    • setStatus

      public void setStatus(String status)
    • setMaxTraceBytes

      public void setMaxTraceBytes(String maxTraceBytes)
    • setTraceFileLimit

      public void setTraceFileLimit(String traceFileLimit)
    • setTraceFileCount

      public void setTraceFileCount(String traceFileCount)
    • setParameterTrace

      public void setParameterTrace(String parameterTrace)
    • setFfdcSuppress

      public void setFfdcSuppress(String ffdcSuppress)
    • setFfdcSuppressProbeIDs

      public void setFfdcSuppressProbeIDs(String ffdcSuppressProbeIDs)
    • setFfstSuppress

      public void setFfstSuppress(String ffstSuppress)
    • setFfstSuppressProbeIDs

      public void setFfstSuppressProbeIDs(String ffstSuppressProbeIDs)
    • setLogFile

      public void setLogFile(String logFile)
    • setTraceFile

      public void setTraceFile(String traceFile)
    • setFFDCPath

      public void setFFDCPath(String ffdcPath)
    • setFFSTPath

      public void setFFSTPath(String ffstPath)
    • getStatus

      public String getStatus()
    • getMaxTraceBytes

      public String getMaxTraceBytes()
    • getTraceFileLimit

      public String getTraceFileLimit()
    • getTraceFileCount

      public String getTraceFileCount()
    • getParameterTrace

      public String getParameterTrace()
    • getFfdcSuppress

      public String getFfdcSuppress()
    • getFfdcSuppressProbeIDs

      public String getFfdcSuppressProbeIDs()
    • getFfstSuppress

      public String getFfstSuppress()
    • getFfstSuppressProbeIDs

      public String getFfstSuppressProbeIDs()
    • getLogFile

      public String getLogFile()
    • getTraceFile

      public String getTraceFile()
    • getFFDCPath

      public String getFFDCPath()
    • getFFSTPath

      public String getFFSTPath()
    • traceProperties

      public void traceProperties(org.slf4j.Logger parentLogger)