Broker 10.15 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | webMethods Messaging Administration | JMSAdmin Command Reference | JMSAdmin Command Descriptions | Modify CompositeQueueConnectionFactory
 
Modify CompositeQueueConnectionFactory
Changes property values for an existing composite queue connection factory definition.
Syntax
modify { cm_qcf | CompositeQueueConnectionFactory } lookup-name [ with
 
clusterConnectionFactories=(cluster-queue-connection-factory-name)+
[ clusterRefreshInterval=cluster-refresh-interval ]
[ clusterPolicy=cluster-policy-name ]
[ useXA={ true | false } ]
[ marshallInClassName=class-name ]
[ marshallOutClassName=class-name ] ]
The command syntax has these parts:
Part
Description
lookup-name
Required. The name used to look up this connection factory in the JNDI directory.
clusterConnectionFactories
Required.List of cluster queue connection factory names that will be part of the composite queue connection factory. The list of cluster queue connection factory names is specified by separating the cluster queue connection factory names with a comma (,).
clusterRefreshInterval
Optional.The cluster refresh interval in minutes. JMS client applications can use this interval to refresh the cluster connection factory, and choose to reconnect if the connection factory has changed. The webMethods API for JMS will not automatically refresh the connection factories or Broker connections. The value of this property must be an integer greater than 0.
The default value is 1440.
clusterPolicy
Optional.The name of the composite queue cluster routing policy. Specify any of the following policies:
*ROUND_ROBIN (the default value)
*STICKY
*RANDOM
*MULTISEND_BEST_EFFORT
useXA
Optional. Whether XA transactions are allowed with this composite queue connection factory. The default value is true, which means XA transactions are allowed. If you are not using the specified composite queue connection factory with an application server, specifying false saves some of the overhead associated with support for composite XA queue connection factories.
This parameter is for JMS only. If the connection factory is for a C# client, this parameter is ignored.
marshalInClassName
Optional. Class name of the inbound marshaller (JMS clients only).
marshalOutClassName
Optional. Class name of the outbound marshaller (JMS clients only).
Remarks
You can only use the marshalInClassName and marshalOutClassName parameters when implementing the marshalling feature when you use webMethods Broker as a JMS provider. For more information, see JMS Marshalling.
Example
show TEST_CONNECTION_FACTORY
 
TEST_CONNECTION_FACTORY : com.webmethods.jms.impl.WmQueueConnectionFactoryImpl
clusterConnectionFactories: clusterFactory_01,clusterFactory_02
clusterRefreshInterval: 640
clusterPolicy: ROUND_ROBIN
useXA: false
marshalInClassName: <not specified>
marshalOutClassName: <not specified>
cluster Factories: 2
cluster Factory [0]: clusterFactory_01
clusterName: cluster_01
clusterBrokers: broker_01@hostname:port,broker_02@hostname:port
includeAllBrokers: false
clusterRefreshInterval: 144
clusterPolicy: ROUND_ROBIN
application: JMS
clientGroup: JMSClient
clientId: <not specified>
sslKeystore: <not specified>
sslTruststore: <not specified>
sslKeystoreType: <not specified>
sslTruststoreType: <not specified>
sslEncrypted: false
useXA: true
marshalInClassName: <not specified>
marshalOutClassName: <not specified>
cluster Factory [1]: clusterFactory_02
clusterName: cluster_01
clusterBrokers: broker_03@hostname:port,broker_04@hostname:port
includeAllBrokers: false
clusterRefreshInterval: 144
clusterPolicy: ROUND_ROBIN
application: JMS
clientGroup: JMSClient
clientId: <not specified>
sslKeystore: <not specified>
sslTruststore: <not specified>
sslKeystoreType: <not specified>
sslTruststoreType: <not specified>
sslEncrypted: false
useXA: true
marshalInClassName: <not specified>
marshalOutClassName: <not specified>
 
modify CompositeQueueConnectionFactory TEST_CONNECTION_FACTORY with
clusterConnectionFactories=clusterFactory_03,clusterFactory_04
clusterPolicy=STICKY
 
show TEST_CONNECTION_FACTORY
 
TEST_CONNECTION_FACTORY:com.webmethods.jms.impl.WmQueueConnectionFactoryImpl
clusterConnectionFactories: clusterFactory_03,clusterFactory_04
clusterRefreshInterval: 640
clusterPolicy: STICKY
useXA: false
marshalInClassName: <not specified>
marshalOutClassName: <not specified>
cluster Factories: 2
cluster Factory [0]: clusterFactory_03
clusterName: cluster_01
clusterBrokers: broker_01@hostname:port,broker_02@hostname:port
includeAllBrokers: false
clusterRefreshInterval: 144
clusterPolicy: ROUND_ROBIN
application: JMS
clientGroup: JMSClient
clientId: <not specified>
sslKeystore: <not specified>
sslTruststore: <not specified>
sslKeystoreType: <not specified>
sslTruststoreType: <not specified>
sslEncrypted: false
useXA: true
marshalInClassName: <not specified>
marshalOutClassName: <not specified>
cluster Factory [1]: clusterFactory_04
clusterName: cluster_01
clusterBrokers: broker_03@hostname:port,broker_04@hostname:port
includeAllBrokers: false
clusterRefreshInterval: 144
clusterPolicy: ROUND_ROBIN
application: JMS
clientGroup: JMSClient
clientId: <not specified>
sslKeystore: <not specified>
sslTruststore: <not specified>
sslKeystoreType: <not specified>
sslTruststoreType: <not specified>
sslEncrypted: false
useXA: true
marshalInClassName: <not specified>
marshalOutClassName: <not specified>
Related Commands
Bind CompositeQueueConnectionFactory