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

Part Number E27170-02

weblogic.j2ee.descriptor.wl
Interface SAFDestinationBean

All Superinterfaces:
NamedEntityBean, SettableBean
All Known Subinterfaces:
SAFQueueBean, SAFTopicBean

public interface SAFDestinationBean
extends NamedEntityBean

Store-and-Forward (SAF) destinations are used for asynchronous and disconnected peer communications. A message delivered to a SAF queue or a SAF topic will be forwarded to a queue or a topic in a remote cluster or server. Aspects of a SAF queues and topics behavior can be configured with a SAF queue or topic bean.


Method Summary
 String getLocalJNDIName()
          The local JNDI name of the remote destination.
 MessageLoggingParamsBean getMessageLoggingParams()
          These parameters control how the SAF destination performs message logging.
 String getNonPersistentQos()
          Specifies the quality-of-service for non-persistent messages.
 String getPersistentQos()
          Specifies the quality-of-service for persistent messages.
 String getRemoteJNDIName()
          The remote JNDI name of the remote destination.
 SAFErrorHandlingBean getSAFErrorHandling()
          Specifies the error handling configuration used by this SAF destination.
 long getTimeToLiveDefault()
          Specifies the default Time-to-Live value (expiration time), in milliseconds, for imported JMS messages.
 String getUnitOfOrderRouting()
          Specifies the type of routing used to find a SAF agent when using the message Unit-of-Order feature.
 boolean isUseSAFTimeToLiveDefault()
          Controls whether the Time-to-Live (expiration time) value set on imported JMS messages will be overridden by the value specified in the SAF Default Time-to-Live field.
 void setLocalJNDIName(String localJndiName)
          Sets the value of the LocalJNDIName attribute.
 void setNonPersistentQos(String NonPersistentQos)
          Sets the value of the NonPersistentQos attribute.
 void setPersistentQos(String persistentQos)
          Sets the value of the PersistentQos attribute.
 void setRemoteJNDIName(String remoteJndiName)
          Sets the value of the RemoteJNDIName attribute.
 void setSAFErrorHandling(SAFErrorHandlingBean safErrorHandling)
          Sets the value of the SAFErrorHandling attribute.
 void setTimeToLiveDefault(long timeToLiveDefault)
          Sets the value of the TimeToLiveDefault attribute.
 void setUnitOfOrderRouting(String unitOfOrderRouting)
          Sets the value of the UnitOfOrderRouting attribute.
 void setUseSAFTimeToLiveDefault(boolean useSafTimeToLiveDefault)
          Sets the value of the UseSAFTimeToLiveDefault 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

getRemoteJNDIName

String getRemoteJNDIName()

The remote JNDI name of the remote destination.


setRemoteJNDIName

void setRemoteJNDIName(String remoteJndiName)
                       throws IllegalArgumentException

Sets the value of the RemoteJNDIName attribute.

Throws:
IllegalArgumentException
See Also:
SAFDestinationBean.getRemoteJNDIName()
Changes take effect after you redeploy the module or restart the server.

getLocalJNDIName

String getLocalJNDIName()

The local JNDI name of the remote destination.


setLocalJNDIName

void setLocalJNDIName(String localJndiName)
                      throws IllegalArgumentException

Sets the value of the LocalJNDIName attribute.

Throws:
IllegalArgumentException
See Also:
SAFDestinationBean.getLocalJNDIName()
Changes take effect after you redeploy the module or restart the server.

getPersistentQos

String getPersistentQos()

Specifies the quality-of-service for persistent messages.

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

Default Value:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.EXACTLY_ONCE
Valid Values:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.AT_MOST_ONCE,weblogic.j2ee.descriptor.wl.constants.JMSConstants.AT_LEAST_ONCE,weblogic.j2ee.descriptor.wl.constants.JMSConstants.EXACTLY_ONCE

setPersistentQos

void setPersistentQos(String persistentQos)
                      throws IllegalArgumentException

Sets the value of the PersistentQos attribute.

Throws:
IllegalArgumentException
See Also:
SAFDestinationBean.getPersistentQos()
Changes take effect after you redeploy the module or restart the server.
This method can NOT set a null value.
Default Value:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.EXACTLY_ONCE
Valid Values:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.AT_MOST_ONCE,weblogic.j2ee.descriptor.wl.constants.JMSConstants.AT_LEAST_ONCE,weblogic.j2ee.descriptor.wl.constants.JMSConstants.EXACTLY_ONCE

getNonPersistentQos

String getNonPersistentQos()

Specifies the quality-of-service for non-persistent messages.

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

Default Value:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.AT_LEAST_ONCE
Valid Values:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.AT_MOST_ONCE,weblogic.j2ee.descriptor.wl.constants.JMSConstants.AT_LEAST_ONCE,weblogic.j2ee.descriptor.wl.constants.JMSConstants.EXACTLY_ONCE

setNonPersistentQos

void setNonPersistentQos(String NonPersistentQos)
                         throws IllegalArgumentException

Sets the value of the NonPersistentQos attribute.

Throws:
IllegalArgumentException
See Also:
SAFDestinationBean.getNonPersistentQos()
Changes take effect after you redeploy the module or restart the server.
This method can NOT set a null value.
Default Value:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.AT_LEAST_ONCE
Valid Values:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.AT_MOST_ONCE,weblogic.j2ee.descriptor.wl.constants.JMSConstants.AT_LEAST_ONCE,weblogic.j2ee.descriptor.wl.constants.JMSConstants.EXACTLY_ONCE

getSAFErrorHandling

SAFErrorHandlingBean getSAFErrorHandling()

Specifies the error handling configuration used by this SAF destination.

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

Default Value:
null

setSAFErrorHandling

void setSAFErrorHandling(SAFErrorHandlingBean safErrorHandling)
                         throws IllegalArgumentException

Sets the value of the SAFErrorHandling attribute.

Throws:
IllegalArgumentException
See Also:
SAFDestinationBean.getSAFErrorHandling()
Default Value:
null

getTimeToLiveDefault

long getTimeToLiveDefault()

Specifies the default Time-to-Live value (expiration time), in milliseconds, for imported JMS messages. The expiration time set on JMS messages will override this value unless the SAF Default Time-to-Live Enabled field is switched on, which then overrides the expiration time in JMS messages on imported destinations.

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

Changes take effect after you redeploy the module or restart the server.

setTimeToLiveDefault

void setTimeToLiveDefault(long timeToLiveDefault)
                          throws IllegalArgumentException

Sets the value of the TimeToLiveDefault attribute.

Throws:
IllegalArgumentException
See Also:
SAFDestinationBean.getTimeToLiveDefault()
Changes take effect after you redeploy the module or restart the server.
Minimum Value:
-1

isUseSAFTimeToLiveDefault

boolean isUseSAFTimeToLiveDefault()

Controls whether the Time-to-Live (expiration time) value set on imported JMS messages will be overridden by the value specified in the SAF Default Time-to-Live field.

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


setUseSAFTimeToLiveDefault

void setUseSAFTimeToLiveDefault(boolean useSafTimeToLiveDefault)
                                throws IllegalArgumentException

Sets the value of the UseSAFTimeToLiveDefault attribute.

Throws:
IllegalArgumentException
See Also:
SAFDestinationBean.isUseSAFTimeToLiveDefault()
Changes take effect after you redeploy the module or restart the server.

getUnitOfOrderRouting

String getUnitOfOrderRouting()

Specifies the type of routing used to find a SAF agent when using the message Unit-of-Order feature.


setUnitOfOrderRouting

void setUnitOfOrderRouting(String unitOfOrderRouting)
                           throws IllegalArgumentException

Sets the value of the UnitOfOrderRouting attribute.

Parameters:
unitOfOrderRouting -
Throws:
IllegalArgumentException
See Also:
SAFDestinationBean.getUnitOfOrderRouting()
This method can NOT set a null value.
Valid Values:
weblogic.j2ee.descriptor.wl.constants.PathServiceConstants.HASH_POLICY,weblogic.j2ee.descriptor.wl.constants.PathServiceConstants.PATH_SERVICE

getMessageLoggingParams

MessageLoggingParamsBean getMessageLoggingParams()

These parameters control how the SAF destination performs message logging.

They allow the adminstrator to configure the SAF destination to change message logging when message life cycle changes are detected.

Returns:
The message logging parameters bean that describing the actions to take on message life cycle change

Copyright 1996, 2013, 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.2)

Part Number E27170-02