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

Part Number E41849-02

weblogic.j2ee.descriptor.wl
Interface SAFErrorHandlingBean

All Superinterfaces:
NamedEntityBean, SettableBean

public interface SAFErrorHandlingBean
extends NamedEntityBean

Store-and-Forward (SAF) Error Handling defines the action to be taken when the delivery of a JMS message fails to be forwarded to a remote destination.

Access limited to the following security roles:
Deployer

Method Summary
 String getLogFormat()
          Specifies how information is logged when Policy is set to Log.
 String getPolicy()
          The error handling policy for this SAF error handling resource.
 SAFDestinationBean getSAFErrorDestination()
          Specifies the error destination when Policy is set to Redirect.
 void setLogFormat(String logFormat)
          Sets the value of the LogFormat attribute.
 void setPolicy(String policy)
          Sets the value of the Policy attrubute.
 void setSAFErrorDestination(SAFDestinationBean errorDestination)
          Sets the value of the SAFErrorDestination attribute.
 
Methods inherited from interface weblogic.j2ee.descriptor.wl.NamedEntityBean
getId, getName, getNotes, setName, setNotes
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

getPolicy

String getPolicy()

The error handling policy for this SAF error handling resource.

Any change to this parameter affects only incoming messages; stored messages are not affected.

Default Value:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.DISCARD

setPolicy

void setPolicy(String policy)
               throws IllegalArgumentException

Sets the value of the Policy attrubute.

Throws:
IllegalArgumentException
See Also:
SAFErrorHandlingBean.getPolicy()
This method can NOT set a null value.
Default Value:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.DISCARD
Valid Values:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.DISCARD,weblogic.j2ee.descriptor.wl.constants.JMSConstants.LOGGING,weblogic.j2ee.descriptor.wl.constants.JMSConstants.ERRORDESTINATION,weblogic.j2ee.descriptor.wl.constants.JMSConstants.ALWAYSFORWARD

getLogFormat

String getLogFormat()

Specifies how information is logged when Policy is set to Log.

Any change to this parameter affects only incoming messages; stored messages are not affected.


setLogFormat

void setLogFormat(String logFormat)
                  throws IllegalArgumentException

Sets the value of the LogFormat attribute.

Throws:
IllegalArgumentException
See Also:
SAFErrorHandlingBean.getLogFormat()

getSAFErrorDestination

SAFDestinationBean getSAFErrorDestination()

Specifies the error destination when Policy is set to Redirect.

Any change to this parameter affects only incoming messages; stored messages are not affected.


setSAFErrorDestination

void setSAFErrorDestination(SAFDestinationBean errorDestination)
                            throws IllegalArgumentException

Sets the value of the SAFErrorDestination attribute.

Throws:
IllegalArgumentException

Copyright 1996, 2014, 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.1.3)

Part Number E41849-02