Store-and-Forward (SAF) Imported Destinations is a collection of a SAF queues and topics that reside in a different cluster or server. These sets of SAF queues and topics refer to the same SAF Remote Context. They can also share the same JNDI prefix, Time-To-Live default, and SAF Error Handling name.
Security roles | The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
|
||
Fully Qualified Interface Name | If you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.j2ee.descriptor.wl.SAFImportedDestinationsBean
|
||
Factory Methods | |||
Additional Access Points |
In addition to accessing this MBean by invoking a factory method, you can also access this MBean from the following MBean attributes:
|
This section describes attributes that provide access to other MBeans.
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.
Factory Methods | No explicit creator method. The child shares the lifecycle of its parent. |
Privileges | Read only |
Type | MessageLoggingParamsBean |
Relationship type: | Containment. |
Specifies the error handling configuration used for the imported destinations.
Any change to this parameter affects only incoming messages; stored messages are not affected.
Privileges | Read/Write |
Type | SAFErrorHandlingBean |
Relationship type: | Reference. |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
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.
Factory Methods | createSAFQueue
(java.lang.String name)
Factory methods do not return objects. |
Lookup Operation | lookupSAFQueue(String name)
Returns a |
Privileges | Read only |
Type | SAFQueueBean[] |
Relationship type: | Containment. |
Specifies the remote context used for the imported destinations.
Changing the remote context name affects both stored messages and incoming messages.
Privileges | Read/Write |
Type | SAFRemoteContextBean |
Relationship type: | Reference. |
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.
Factory Methods | createSAFTopic
(java.lang.String name)
Factory methods do not return objects. |
Lookup Operation | lookupSAFTopic(String name)
Returns a |
Privileges | Read only |
Type | SAFTopicBean[] |
Relationship type: | Containment. |
This section describes the following attributes:
Specifies whether this JMS resource defaults to the parent module's targeting or uses the subdeployment targeting mechanism.
When set to true, this resource implicitly inherits the targeting of its parent module. When set to false, this resource gets targeted based its subdeployment's targets, if one is specified.
Privileges | Read/Write |
Type | boolean |
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:
When each JVM hosts only one member of a DD, the two options behave the same.
You can override the 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.
The setting does not apply to the SAF configurations that use
the 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.
The setting is honored in both server store-and-forward and client store-and-forward.
For a similar setting that controls the load balancing of messages on a local distributed Imported Destination, see the Producer Load Balancing Policy attribute on Connection Factory Load Balancing Params Bean.
Privileges | Read/Write |
Type | java.lang.String |
Default Value | Per-Member |
Legal Values |
|
Return the unique identifier of this bean instance.
Privileges | Read only |
Type | long |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
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.
Privileges | Read/Write |
Type | java.lang.String |
The name of this entity, represented in XML as an attribute.
Many of the elements within the JMS module are named entities. All of the named entities encased by a type in the XML file must be unique. This is the identifier used to delineate a particular entity within the JMS module.
This attribute cannot be modified externally from the module (for example, with a deployment plan) because it may be used inside the module referentially.
Privileges | Read/Write |
Type | java.lang.String |
Optional information that you can include to describe this named JMS descriptor bean.
JMS module saves this note in the JMS descriptor file as XML
PCDATA. All left angle brackets (<) are converted to the XML
entity <
. Carriage returns/line feeds are
preserved.
If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.
Privileges | Read/Write |
Type | java.lang.String |
Gets the name of the sub-deployment to use when targeting this entity
Entities are targeted using a sub-deployment with this name. The targets of the sub-deployment will be the targets of this entity.
Privileges | Read/Write |
Type | java.lang.String |
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.
Privileges | Read/Write |
Type | long |
Default Value | 3600000 |
Minimum value | -1 |
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.
Privileges | Read/Write |
Type | java.lang.String |
Default Value | Hash |
Legal Values |
|
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.
Privileges | Read/Write |
Type | boolean |
This section describes the following operations:
|
Return true if the given property has been explicitly set in this bean.
Operation Name | "isSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Exceptions |
|
Restore the given property to its default value.
Operation Name | "unSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|