NamedEntityBean
, SettableBean
, TargetableBean
public interface SAFImportedDestinationsBean extends TargetableBean
Modifier and Type | Method | Description |
---|---|---|
SAFQueueBean |
createSAFQueue(java.lang.String name) |
Create a SAF Queue bean for this SAF Imported Destinations bean.
|
SAFTopicBean |
createSAFTopic(java.lang.String name) |
Create a SAF topic for this SAF Imported Destinations bean.
|
void |
destroySAFQueue(SAFQueueBean safQueue) |
Destroys a SAF Queue bean defined in this SAF Imported Destinations bean.
|
void |
destroySAFTopic(SAFTopicBean safTopic) |
Destroy a SAF Topic bean for this SAF Imported Destinations bean.
|
java.lang.String |
getExactlyOnceLoadBalancingPolicy() |
Controls the load balancing behavior when the SAF service forwards messages to a distributed
destination with the
Exactly-Once quality of service (QOS). |
java.lang.String |
getJNDIPrefix() |
Specifies the string that will prefix the local JNDI name of
a remote destination.
|
MessageLoggingParamsBean |
getMessageLoggingParams() |
These parameters control how the SAF destination performs message
logging.
|
SAFErrorHandlingBean |
getSAFErrorHandling() |
Specifies the error handling configuration used for the imported destinations.
|
SAFQueueBean[] |
getSAFQueues() |
Specifies an array of SAF queues defined in this SAF Imported Destinations bean.
|
SAFRemoteContextBean |
getSAFRemoteContext() |
Specifies the remote context used for the imported destinations.
|
SAFTopicBean[] |
getSAFTopics() |
Specifies an array of SAF topics defined in this SAF Imported Destinations bean.
|
long |
getTimeToLiveDefault() |
Specifies the default Time-to-Live value (expiration time), in milliseconds,
for imported JMS messages.
|
java.lang.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. |
SAFQueueBean |
lookupSAFQueue(java.lang.String name) |
Finds a SAF Queue bean with the given name.
|
SAFTopicBean |
lookupSAFTopic(java.lang.String name) |
Find the SAF Topic bean with the given name.
|
void |
setExactlyOnceLoadBalancingPolicy(java.lang.String exactlyOnceLoadBalancingPolicy) |
Sets the value of the ExactlyOnceLoadBalancingPolicy attribute.
|
void |
setJNDIPrefix(java.lang.String jndiPrefix) |
Sets the value of the JNDIPrefix attribute.
|
void |
setSAFErrorHandling(SAFErrorHandlingBean safErrorHandling) |
Sets the value of the SAFErrorHandling attribute.
|
void |
setSAFRemoteContext(SAFRemoteContextBean safRemoteContextBean) |
Sets the value of the SAFRemoteContext attribute.
|
void |
setTimeToLiveDefault(long timeToLiveDefault) |
Sets the value of the TimeToLiveDefault attribute.
|
void |
setUnitOfOrderRouting(java.lang.String unitOfOrderRouting) |
Sets the value of the UnitOfOrderRouting attribute.
|
void |
setUseSAFTimeToLiveDefault(boolean useSafTimeToLiveDefault) |
Sets the value of the SAFTimeToLiveDefault attribute.
|
getId, getName, getNotes, setName, setNotes
getSubDeploymentName, isDefaultTargetingEnabled, setDefaultTargetingEnabled, setSubDeploymentName
SAFQueueBean[] getSAFQueues()
Specifies an array of SAF queues defined in this SAF Imported Destinations bean.
SAF Queue bean defines an imported JMS queue from a remote server in the local server.
SAFQueueBean createSAFQueue(java.lang.String name)
Create a SAF Queue bean for this SAF Imported Destinations bean.
SAFQueueBean defines an imported JMS queue from a remote server in the local server.
name
- the name for the SAFQueueBean to be createdvoid destroySAFQueue(SAFQueueBean safQueue)
Destroys a SAF Queue bean defined in this SAF Imported Destinations bean.
SAFQueueBean defines an imported JMS queue from a remote server in the local server.
safQueue
- SAFQueueBean to be destroyed in this
SAFImportedDestinationsBeanSAFQueueBean lookupSAFQueue(java.lang.String name)
Finds a SAF Queue bean with the given name.
SAF Queue bean defines an imported JMS queue from a remote server in the local server.
name
- The name of the SAF Queue bean to findSAFTopicBean[] getSAFTopics()
Specifies an array of SAF topics defined in this SAF Imported Destinations bean.
SAF Topic bean defines an imported JMS topic from a remote server in the local server.
SAFTopicBean createSAFTopic(java.lang.String name)
Create a SAF topic for this SAF Imported Destinations bean.
SAF Topic bean defines an imported JMS topic from a remote server in the local server.
name
- the name for the SAFTopicBean to be createdvoid destroySAFTopic(SAFTopicBean safTopic)
Destroy a SAF Topic bean for this SAF Imported Destinations bean.
SAF Topic bean defines an imported JMS topic from a remote server in the local server.
safTopic
- to be destroyed in this SAFImportedDestinationsBeanSAFTopicBean lookupSAFTopic(java.lang.String name)
Find the SAF Topic bean with the given name.
SAF Topic bean defines an imported JMS topic from a remote server in the local server.
name
- The name of the SAF Topic bean to findjava.lang.String getJNDIPrefix()
Specifies the string that will prefix the local JNDI name of a remote destination.
Any change to this prefix affects only incoming messages; stored messages are not affected.
void setJNDIPrefix(java.lang.String jndiPrefix) throws java.lang.IllegalArgumentException
Sets the value of the JNDIPrefix attribute.
java.lang.IllegalArgumentException
getJNDIPrefix()
SAFRemoteContextBean getSAFRemoteContext()
Specifies the remote context used for the imported destinations.
Changing the remote context name affects both stored messages and incoming messages.
void setSAFRemoteContext(SAFRemoteContextBean safRemoteContextBean) throws java.lang.IllegalArgumentException
Sets the value of the SAFRemoteContext attribute.
java.lang.IllegalArgumentException
SAFRemoteContextBean.getSAFLoginContext()
SAFErrorHandlingBean getSAFErrorHandling()
Specifies the error handling configuration used for the imported destinations.
Any change to this parameter affects only incoming messages; stored messages are not affected.
void setSAFErrorHandling(SAFErrorHandlingBean safErrorHandling) throws java.lang.IllegalArgumentException
Sets the value of the SAFErrorHandling attribute.
java.lang.IllegalArgumentException
getSAFErrorHandling()
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.
void setTimeToLiveDefault(long timeToLiveDefault) throws java.lang.IllegalArgumentException
Sets the value of the TimeToLiveDefault attribute.
java.lang.IllegalArgumentException
getTimeToLiveDefault()
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.
void setUseSAFTimeToLiveDefault(boolean useSafTimeToLiveDefault) throws java.lang.IllegalArgumentException
Sets the value of the SAFTimeToLiveDefault attribute.
java.lang.IllegalArgumentException
isUseSAFTimeToLiveDefault()
java.lang.String getUnitOfOrderRouting()
Specifies the type of routing used to find a SAF agent when using the message Unit-of-Order feature.
Hash
indicates that message producers use the hash code of a message Unit-of-Order to
find a SAF agent.
PathService
indicates that message producers use the Path Service to find a SAF agent.
void setUnitOfOrderRouting(java.lang.String unitOfOrderRouting) throws java.lang.IllegalArgumentException
This attribute is not dynamically configurable.
unitOfOrderRouting
- java.lang.IllegalArgumentException
getUnitOfOrderRouting()
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.
java.lang.String getExactlyOnceLoadBalancingPolicy()
Controls the load balancing behavior when the SAF service forwards messages to a distributed
destination with the Exactly-Once
quality of service (QOS).
The valid values are:
Per-Member
- The default value. All active members of the target distributed
destination (DD) will be the candidates for load balancing. If there are multiple members of the
same DD running on a WebLogic server JVM, these members will all receive forwarded messages.
Per-JVM
- On each WebLogic server JVM, only one of the active members of the target
distributed destination(DD) will be the candidate for load balancing. When the DD has members associated
with the instances of a cluster-targeted JMS server, the load balancing algorithm will bias to the
"preferred member", which has natural affinity or preference to a particular JVM. Otherwise, the algorithm
will bias to the member whose name is lexicographically smallest among all candidate members on the
same JVM.
Notes:
Exactly Once Load Balancing Policy
on SAF Imported Destinations
Beans defined in all JMS modules or a particular JMS module by specifying the system properties
weblogic.jms.saf.ExactlyOnceLoadBalancingPolicy
or weblogic.jms.saf.ExactlyOnceLoadBalancingPolicy.MODULENAME
on every WebLogic Server in a cluster (the latter property takes precedence
over the former). If a SAF Imported Destinations is overridden by one of these system properties,
then the host WebLogic Server will log an Info message BEA-281034 with the name of
the SAF Imported Destinations, the system property, and the
system property value once the first SAF message is forwarded.At-Last-Once
or At-Most-Once
QOS. Neither does it apply to forwarding messages to a
"standalone" destination, or forwarding unit-of-order messages. void setExactlyOnceLoadBalancingPolicy(java.lang.String exactlyOnceLoadBalancingPolicy) throws java.lang.IllegalArgumentException
Sets the value of the ExactlyOnceLoadBalancingPolicy attribute.
This attribute is not dynamically changeable, and a server restart is required in order for the new value to take effect.
exactlyOnceLoadBalancingPolicy
- java.lang.IllegalArgumentException
getExactlyOnceLoadBalancingPolicy()