View This Client Params
/management/weblogic/{version}/domainConfig/resourceGroupTemplates/{name}/JMSSystemResources/{name}/JMSResource/connectionFactories/{name}/clientParams
View this client params.
Request
-
name: string
The name property of the instance in the collection.
-
version: string
The version of the WebLogic REST interface.
-
excludeFields(optional): string
The 'excludeFields' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields whose name is not on the list will be returned. If not present, all fields are returned (unless the 'fields' query parameter is specified). Note: 'fields' must not be specified if 'excludeFields' is specified.
-
excludeLinks(optional): string
The 'excludeLinks' query parameter is used to restrict which links are returned in the response. It is a comma separated list of link relationship names. If present, only links whose relationship name is not on the list will be returned. If not present, all links are returned (unless the 'links' query parameter is specified). Note: 'links' must not be specified if 'excludeLinks' is specified.
-
fields(optional): string
The 'fields' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields with matching names are returned. If not present, all fields are returned (unless the 'excludeFields' query parameter is specified). Note: 'excludeFields' must not be specified if 'fields' is specified.
-
links(optional): string
The 'links' query parameter is used to restrict which links are returned in the response. It is a comma separated list of link relationship names. If present, only links with matching relationship names are returned. If not present, all links are returned (unless the 'excludeLinks' query parameter is specified). Note: 'excludeLinks' must not be specified if 'links' is specified.
-
Admin: basic
Type:
basic
Description:A user in the Admin security role.
-
Deployer: basic
Type:
basic
Description:A user in the Deployer security role.
-
Monitor: basic
Type:
basic
Description:A user in the Monitor security role.
-
Operator: basic
Type:
basic
Description:A user in the Operator security role.
Response
- application/json
200 Response
Returns this client params.
object
-
acknowledgePolicy(optional):
string
Default Value:
All
Allowed Values:[ "All", "Previous" ]
Acknowledge policy for non-transacted sessions that use the
CLIENT_ACKNOWLEDGE
mode.All
indicates that calling acknowledge on a message acknowledges all unacknowledged messages received on the session.Previous
specifies that calling acknowledge on a message acknowledges only unacknowledged messages up to, and including, the given message.This parameter works around a change in the JMS specification and only applies to implementations that use the
CLIENT_ACKNOWLEDGE
acknowledge mode for a non-transacted session. Specifically, the specification allowed users to acknowledge all messages before and including the message being acknowledged. The specification was changed so that acknowledging any message acknowledges all messages ever received (even those received after the message being acknowledge).ACKNOWLEDGE_PREVIOUS
retains the old behavior (acknowledge all message up to and including the message being acknowledged). Whereas,ACKNOWLEDGE_ALL
yields the new behavior, where all messages received by the given session are acknowledged regardless of which message is being used to effect the acknowledge.This attribute is dynamic and can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.
-
allowCloseInOnMessage(optional):
boolean
Default Value:
true
Specifies whether a connection factory creates message consumers that allow a
close()
orstop()
method to be issued within itsonMessage()
method call.If selected (set to true) on a custom connection factory, an
onMessage()
method callback is allowed to issue aclose()
method on its own Session, Connection and JMSContext objects, or astop()
call on its own Connection and JMSContext objects. If false, these calls will throw an exception.Default JMS Connection Factories ("java:comp/DefaultJMSConnectionFactory", "weblogic.jms.ConnectionFactory", or "weblogic.jms.XAConnectionFactory") set this option to false and it cannot be modified.
Note: The
onMessage()
method of the Message Listener is allowed to callclose()
on its own MessageConsumer and JMSConsumer even when AllowCloseInOnMessage is set to false.
This value is dynamic and can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory. -
clientId(optional):
string
An optional Client ID for applications that use this JMS connection factory. If the Client ID Policy is set to
Restricted
(the default), then configuring a Client ID on the connection factory prevents more than one JMS client from using a connection from this factory.This attribute is rarely configured and should normally be left at the default (blank), as JMS application programs can set their Client IDs dynamically using the standard JMS APIs
javax.jms.JMSContext.setClientID()
orjavax.jms.Connection.setClientID()
. The JMS application message processing containers (such as MDBs) normally make the Client ID configurable as part of container configuration.This attribute is dynamic and can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.
Constraints
- legal null
-
clientIdPolicy(optional):
string
Default Value:
Restricted
Allowed Values:[ "Restricted", "Unrestricted" ]
The Client ID Policy indicates whether more than one JMS connection can use the same Client ID.
The valid values are:
CLIENT_ID_POLICY_RESTRICTED
- The default. Only one connection that uses this policy can exist in a cluster at any given time for a particular Client ID (if a connection already exists with a given Client ID, attempts to create new connections using this policy with the same Client ID fail with an exception).CLIENT_ID_POLICY_UNRESTRICTED
- Connections created using this policy can specify any Client ID, even when other restricted or unrestricted connections already use the same Client ID. The Unrestricted Client ID capability was added in WebLogic 10.3.4 (11gR1PS3).
Notes:
WebLogic JMS applications can override the Client ID Policy specified on the connection factory configuration by casting a
javax.jms.JMSContext
instance toweblogic.jms.extensions.WLJMSContext
or ajavax.jms.Connection
instance toweblogic.jms.extension.WLConnection
and callingsetClientID(String clientID, String clientIDPolicy)
Two connections with the same Client ID are treated as two different independent connections if they have a different Client ID Policy. This means a cluster can host a single Restricted Client ID Policy connection, and also concurrently host multiple Unrestricted Client ID Policy connections that have the same Client ID as the Restricted connection.
Two durable subscriptions with the same Client ID and Subscription Name are treated as two different independent subscriptions if they have a different Client ID Policy. Similarly, two Sharable non-durable subscriptions with the same Client Id are treated as two different independent subscriptions if they have a different Client ID Policy.
Durable subscriptions created using an Unrestricted Client Id must be unsubscribed using the
weblogic.jms.extensions.WLJMSContext.unsubscribe(Topic topic, String name)
instead ofjavax.jms.JMSContext.unsubscribe(String name)
or using theweblogic.jms.extensions.WLSession.unsubscribe(Topic topic, String name)
, instead ofjavax.jms.Session.unsubscribe(String name)
This attribute is dynamic and can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.
-
messagesMaximum(optional):
integer(int32)
Default Value:
10
The maximum number of messages that can exist for an asynchronous session and that have not yet been passed to the message listener. When the Synchronous Prefetch Mode is enabled, this value also affects synchronous sessions with a message consumer that will prefetch messages in one server access.
A value of -1 indicates that there is no limit on the number of messages. In this case, however, the limit is set to the amount of remaining virtual memory.
When the number of messages reaches the MessagesMaximum value:
For multicast sessions, new messages are discarded according the policy specified by the
OverrunPolicy
parameter and a DataOverrunException is thrown.For non-multicast sessions, new messages are flow-controlled, or retained on the server until the application can accommodate the messages.
For multicast sessions, when a connection is stopped, messages will continue to be delivered, but only until the MessagesMaximum value is reached. Once this value is reached, messages will be discarded based on the Overrun policy.
This attribute is dynamic and can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.
-
multicastOverrunPolicy(optional):
string
Default Value:
KeepOld
Allowed Values:[ "KeepOld", "KeepNew" ]
The policy to use when the number of outstanding multicast messages reaches the value specified in MessagesMaximum and some messages must be discarded.
Keep New - Indicates that the most recent messages are given priority over the oldest messages, and the oldest messages are discarded, as needed.
Keep Old - Indicates that the oldest messages are given priority over the most recent messages, and the most recent messages are discarded, as needed.
Message age is defined by the order of receipt, not by the
JMSTimestamp
value.This attribute is dynamic and can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.
-
subscriptionSharingPolicy(optional):
string
Default Value:
Exclusive
Allowed Values:[ "Exclusive", "Sharable" ]
Specifies the subscription sharing policy on this connection. Although this attribute is dynamic, the new values only take effect on future connections and have no impact to existing connections created before the value was changed.
The valid values are:
Exclusive
- The default. All subscribers created using this connection factory cannot share subscriptions with any other subscribers.Sharable
- Subscribers created using this connection factory can share their subscriptions with other subscribers, regardless of whether those subscribers are created using the same connection factory or a different connection factory. Consumers can share a non-durable subscriptions only if they have the same Client ID and Client ID Policy; consumers can share a durable subscription only if they have the same Client ID, Client ID Policy, and Subscription Name. The Sharable Subscription Sharing capability was added in WebLogic 10.3.4 (11gR1PS3).
Notes:
WebLogic JMS applications can override the Subscription Sharing Policy specified on the connection factory configuration by casting a
javax.jms.JMSContext
instance toweblogic.jms.extensions.WLJMSContext
or ajavax.jms.Connection
instance toweblogic.jms.extensions.WLConnection
and callingsetSubscriptionSharingPolicy(String subscriptionSharingPolicy)
Most applications with a Sharable Subscription Sharing Policy will also use an Unrestricted Client ID Policy in order to ensure that multiple connections with the same client ID can exist.
Two durable subscriptions with the same Client ID and Subscription Name are treated as two different independent subscriptions if they have a different Client ID Policy. Similarly, two Sharable non-durable subscriptions with the same Client ID are treated as two different independent subscriptions if they have a different Client ID Policy.
Durable subscriptions created using an Unrestricted Client Id must be unsubscribed using
weblogic.jms.extensions.WLJMSContext.unsubscribe(Topic topic, String name)
, instead ofjavax.jms.JMSContext.unsubscribe(String name)
or usingweblogic.jms.extensions.WLSession.unsubscribe(Topic topic, String name)
, instead ofjavax.jms.Session.unsubscribe(String name)
, regardless of the Subscription Sharing Policy (Exclusive or Sharable).
This attribute is dynamic and can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.
-
synchronousPrefetchMode(optional):
string
Default Value:
disabled
Specifies whether a synchronous consumer will prefetch messages (that is, messages sent from the server to the client) in one server access.
Disabled - Indicates that message prefetching is disabled.
Enabled - Indicates that a synchronous consumer (queue receiver or topic subscriber) will prefetch messages. The amount of prefetched messages cannot exceed the maximum number of messages defined by the Messages Maximum parameter.
Topic Subscriber Only - Indicates that only a synchronous topic subscriber will prefetch messages. The amount of prefetched messages cannot exceed the maximum number of messages defined by the Messages Maximum parameter.
Synchronous message prefetching does not support the following conditions, and will throw a JMS Exception when encountered:
User (XA) transactions for synchronous message receives
Multiple synchronous consumers per session (regardless of queue or topic)
This attribute is dynamic and can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.