Modify CompositeTopicConnectionFactory
Changes property values for an existing composite topic connection factory definition.
Syntax
modify { cm_tcf | CompositeTopicConnectionFactory } lookup-name [ with
clusterConnectionFactories=(cluster-topic-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 topic connection factory names that will be part of the composite topic connection factory. The list of cluster topic connection factory names is specified by separating the cluster topic 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 topic cluster routing policy. Specify any of the following policies: ROUND_ROBIN (the default value) STICKY RANDOM MULTISEND_BEST_EFFORT MULTISEND_GUARANTEED |
useXA | Optional. Whether XA transactions are allowed with this composite topic connection factory. The default value is true, which means XA transactions are allowed. If you are not using the specified composite topic connection factory with an application server, specifying false saves some of the overhead associated with support for composite XA topic 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.WmTopicConnectionFactoryImpl
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>
modify cm_tcf TEST_CONNECTION_FACTORY with
clusterConnectionFactories=clusterFactory_01,clusterFactory_02
clusterPolicy=RANDOM
clusterRefreshInterval=240
show TEST_CONNECTION_FACTORY
TEST_CONNECTION_FACTORY : com.webmethods.jms.impl.WmTopicConnectionFactoryImpl
clusterConnectionFactories: clusterFactory_01,clusterFactory_02
clusterRefreshInterval: 240
clusterPolicy: RANDOM
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>
Related Commands