Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.j2ee.descriptor.wl
Interface MessageLoggingParamsBean

All Superinterfaces:
SettableBean

public interface MessageLoggingParamsBean
extends SettableBean

These parameters control what should happen to messages logging. They allow the adminstrator to control logging.


Method Summary
abstract  String getMessageLoggingFormat()
          Defines which information about the message is logged.
abstract  TemplateBean getTemplateBean()
          Finds the template bean for this destination.
abstract  boolean isMessageLoggingEnabled()
          Specifies whether the module logs information about the message life cycle.
abstract  void setMessageLoggingEnabled(boolean value)
          Sets the value of the MessageLoggingEnabled attribute.
abstract  void setMessageLoggingFormat(String messageLoggingFormat)
          Sets the value of the MessageLoggingFormat attribute.

 

Method Detail

isMessageLoggingEnabled

boolean isMessageLoggingEnabled()

Specifies whether the module logs information about the message life cycle.

Returns:
The message logging currently in use by this destination

setMessageLoggingEnabled

void setMessageLoggingEnabled(boolean value)
                              throws IllegalArgumentException
Sets the value of the MessageLoggingEnabled attribute.
Throws:
IllegalArgumentException

getMessageLoggingFormat

String getMessageLoggingFormat()

Defines which information about the message is logged.

Valid values are:

When specifying multiple values, enter them as a comma-separated list. The %header% and %properies% values are not case sensitive. For example, you could use "%header%,%properties%" for all the JMS header fields and user properties. However, the enumeration of individual JMS header fields and user-defined properties are case sensitive. To enumerate only individual JMS header fields you could use "%header, name, address, city, state, zip".

Note: The JMSMessageID field is always logged and cannot be turned off. Therefore, if the Message Logging Format is not defined (i.e., null) or is defined as an empty string, then the output to the log file contains only the JMSMessageID of the message. Gets the message-logging-format element.

Returns:
The message logging format currently in use by this destination

setMessageLoggingFormat

void setMessageLoggingFormat(String messageLoggingFormat)
                             throws IllegalArgumentException

Sets the value of the MessageLoggingFormat attribute.

Parameters:
messageLoggingFormat - The message logging format to use with this destination
Throws:
IllegalArgumentException

getTemplateBean

TemplateBean getTemplateBean()

Finds the template bean for this destination.

Returns:
The template bean that will be used for this destination, or null if this threshold bean is from a template or a template could not be found for this destination

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09