Create A New SAF Imported Destinations
/management/weblogic/{version}/edit/resourceGroups/{name}/JMSSystemResources/{name}/JMSResource/SAFImportedDestinations
Add a new SAF imported destinations to this collection.
Request
- application/json
-
name: string
The name property of the instance in the collection.
-
version: string
The version of the WebLogic REST interface.
-
X-Requested-By: string
The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Must contain a populated SAF imported destinations model.
object
-
defaultTargetingEnabled(optional):
boolean
Default Value:
false
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.
-
exactlyOnceLoadBalancingPolicy(optional):
string
Default Value:
Per-Member
Allowed Values:[ "Per-Member", "Per-JVM" ]
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 propertiesweblogic.jms.saf.ExactlyOnceLoadBalancingPolicy
orweblogic.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
orAt-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.
-
id(optional):
integer(int64)
Read Only:
true
Return the unique identifier of this bean instance.
-
JNDIPrefix(optional):
string
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.
-
name(optional):
string
Read Only:
true
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.
Constraints
- legal null
-
notes(optional):
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.)>
- Note:
If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.
-
SAFErrorHandling(optional):
array SAF Error Handling Reference
Title:
SAF Error Handling Reference
Contains the SAF error handling reference.Specifies the error handling configuration used for the imported destinations.
Any change to this parameter affects only incoming messages; stored messages are not affected.
Constraints
- restart required
-
SAFRemoteContext(optional):
array SAF Remote Context Reference
Title:
SAF Remote Context Reference
Contains the SAF remote context reference.Specifies the remote context used for the imported destinations.
Changing the remote context name affects both stored messages and incoming messages.
-
subDeploymentName(optional):
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.
-
timeToLiveDefault(optional):
integer(int64)
Minimum Value:
-1
Default Value:3600000
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.
-
unitOfOrderRouting(optional):
string
Default Value:
Hash
Allowed Values:[ "Hash", "PathService" ]
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.
-
useSAFTimeToLiveDefault(optional):
boolean
Default Value:
false
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.
array
SAF Error Handling Reference
Specifies the error handling configuration used for the imported destinations.
Any change to this parameter affects only incoming messages; stored messages are not affected.
Constraints
- restart required
array
SAF Remote Context Reference
Specifies the remote context used for the imported destinations.
Changing the remote context name affects both stored messages and incoming messages.
-
Admin: basic
Type:
basic
Description:A user in the Admin security role.
-
Deployer: basic
Type:
basic
Description:A user in the Deployer security role.