Topic attributes

Event messages relating to objects can include topic attributes

    AlterationDate (MQCFST)
    Alteration date (parameter identifier: MQCA_ALTERATION_DATE).

    The date when the information was last altered, in the form yyyy-mm-dd.

    AlterationTime (MQCFST)
    Alteration time (parameter identifier: MQCA_ALTERATION_TIME).

    The time when the information was last altered, in the form hh.mm.ss.

    ClusterName (MQCFST)
    The name of the cluster to which this topic belongs. (parameter identifier: MQCA_CLUSTER_NAME).

    The maximum length of the string is MQ_CLUSTER_NAME_LENGTH. Setting this parameter to a cluster that this queue manager is a member of makes all queue managers in the cluster aware of this topic. Any publication to this topic or a topic string below it put to any queue manager in the cluster is propagated to subscriptions on any other queue manager in the cluster. For more details, see Distributed publish/subscribe networks.

    The value can be any of the following values:

      Blank
      If no topic object above this topic in the topic tree has set this parameter to a cluster name, then this topic does not belong to a cluster. Publications and subscriptions for this topic are not propagated to publish/subscribe cluster-connected queue managers. If a topic node higher in the topic tree has a cluster name set, publications and subscriptions to this topic are also propagated throughout the cluster.
      This value is the default value for this parameter if no value is specified.

      String
      The topic belongs to this cluster. It is not recommended that this is set to a different cluster from a topic object above this topic object in the topic tree. Other queue managers in the cluster will honor this object's definition unless a local definition of the same name exists on those queue managers.
      Additionally, if PublicationScope or SubscriptionScope are set to MQSCOPE_ALL, this value is the cluster to be used for the propagation of publications and subscriptions, for this topic, to publish/subscribe cluster-connected queue managers.

    DefPersistence (MQCFIN)
    Default persistence (parameter identifier: MQIA_TOPIC_DEF_PERSISTENCE). The value can be:

      MQPER_PERSISTENCE_AS_PARENT
      The default persistence is based on the setting of the closest parent administrative topic object in the topic tree.

      MQPER_PERSISTENT
      Message is persistent.

      MQPER_NOT_PERSISTENT
      Message is not persistent.

    DefPriority (MQCFIN)
    Default priority (parameter identifier: MQIA_DEF_PRIORITY).
    DefPutResponse (MQCFIN)
    Default put response (parameter identifier: MQIA_DEF_PUT_RESPONSE_TYPE). The value can be:

      MQPRT_ASYNC_RESPONSE
      The put operation is issued asynchronously, returning a subset of MQMD fields.

      MQPRT_RESPONSE_AS_PARENT
      The default put response is based on the setting of the closest parent administrative topic object in the topic tree.

      MQPRT_SYNC_RESPONSE
      The put operation is issued synchronously, returning a response.

    DurableModelQName (MQCFST)
    Name of the model queue to be used for durable managed subscriptions (parameter identifier: MQCA_MODEL_DURABLE_Q).

    The maximum length of the string is MQ_Q_NAME_LENGTH.

    DurableSubscriptions (MQCFIN)
    Whether applications are permitted to make durable subscriptions (parameter identifier: MQIA_DURABLE_SUB). The value can be:

      MQSUB_DURABLE_AS_PARENT
      Whether durable subscriptions are permitted is based on the setting of the closest parent administrative topic object in the topic tree.

      MQSUB_DURABLE
      Durable subscriptions are permitted.

      MQSUB_NON_DURABLE
      Durable subscriptions are not permitted.

    InhibitPublications (MQCFIN)
    Whether publications are allowed for this topic (parameter identifier: MQIA_INHIBIT_PUB). The value can be:

      MQTA_PUB_AS_PARENT
      Whether messages can be published to this topic is based on the setting of the closest parent administrative topic object in the topic tree.

      MQTA_PUB_INHIBITED
      Publications are inhibited for this topic.

      MQTA_PUB_ALLOWED
      Publications are allowed for this topic.

    InhibitSubscriptions (MQCFIN)
    Whether subscriptions are allowed for this topic (parameter identifier: MQIA_INHIBIT_SUB). The value can be:

      MQTA_SUB_AS_PARENT
      Whether applications can subscribe to this topic is based on the setting of the closest parent administrative topic object in the topic tree.

      MQTA_SUB_INHIBITED
      Subscriptions are inhibited for this topic.

      MQTA_SUB_ALLOWED
      Subscriptions are allowed for this topic.

    NonDurableModelQName (MQCFST)
    Name of the model queue to be used for non durable managed subscriptions (parameter identifier: MQCA_MODEL_NON_DURABLE_Q).

    The maximum length of the string is MQ_Q_NAME_LENGTH.

    NonPersistentMsgDelivery (MQCFIN)
    The delivery mechanism for non-persistent messages published to this topic (parameter identifier: MQIA_NPM_DELIVERY). The value can be:

      MQDLV_AS_PARENT
      The delivery mechanism used is based on the setting of the first parent administrative node found in the topic tree relating to this topic.

      MQDLV_ALL
      Non-persistent messages must be delivered to all subscribers, irrespective of durability for the MQPUT call to report success. If a delivery failure to any subscriber occurs, no other subscribers receive the message and the MQPUT fails.

      MQDLV_ALL_DUR
      Non-persistent messages must be delivered to all durable subscribers. Failure to deliver a non-persistent message to any non-durable subscribers does not return an error to the MQPUT call. If a delivery failure to a durable subscriber occurs, no other subscribers receive the message and the MQPUT fails.

      MQDLV_ALL_AVAIL
      Non-persistent messages are delivered to all subscribers that can accept the message. Failure to deliver the message to any subscriber does not prevent other subscribers from receiving the message.

    PersistentMsgDelivery (MQCFIN)
    The delivery mechanism for persistent messages published to this topic (parameter identifier: MQIA_PM_DELIVERY). The value can be:

      MQDLV_AS_PARENT
      The delivery mechanism used is based on the setting of the first parent administrative node found in the topic tree relating to this topic.

      MQDLV_ALL
      Persistent messages must be delivered to all subscribers, irrespective of durability for the MQPUT call to report success. If a delivery failure to any subscriber occurs, no other subscribers receive the message and the MQPUT fails.

      MQDLV_ALL_DUR
      Persistent messages must be delivered to all durable subscribers. Failure to deliver a persistent message to any non-durable subscribers does not return an error to the MQPUT call. If a delivery failure to a durable subscriber occurs, no other subscribers receive the message and the MQPUT fails.

      MQDLV_ALL_AVAIL
      Persistent messages are delivered to all subscribers that can accept the message. Failure to deliver the message to any subscriber does not prevent other subscribers from receiving the message.

    ProxySubscriptions (MQCFIN)
    Whether a proxy subscription is to be sent for this topic, even if no local subscriptions exist, to directly connected queue managers (parameter identifier: MQIA_PROXY_SUB). The value can be:

      MQTA_PROXY_SUB_FORCE
      A proxy subscription is sent to connected queue managers even if no local subscriptions exist.

      MQTA_PROXY_SUB_FIRSTUSE
      A proxy subscription is sent for this topic only when a local subscription exists.

    PublicationScope (MQCFIN)
    Whether this queue manager propagates publications to queue managers as part of a hierarchy or as part of a publish/subscribe cluster (parameter identifier: MQIA_PUB_SCOPE). The value can be:

      MQSCOPE_ALL
      Publications for this topic are propagated to hierarchically connected queue managers and to publish/subscribe cluster-connected queue managers.

      MQSCOPE_AS_PARENT
      Whether this queue manager will propagate publications to queue managers as part of a hierarchy or as part of a publish/subscribe cluster is based on the setting of the first parent administrative node found in the topic tree relating to this topic.

      This is the default value for this parameter if no value is specified.

      MQSCOPE_QMGR
      Publications for this topic are not propagated to other queue managers.

    Note: We can override this behavior on a publication-by-publication basis, using MQPMO_SCOPE_QMGR on the Put Message Options.

    QMgrName (MQCFST)
    Name of local queue manager (parameter identifier: MQCA_CLUSTER_Q_MGR_NAME).

    The maximum length of the string is MQ_Q_MGR_NAME_LENGTH.

    SubscriptionScope (MQCFIN)
    Whether this queue manager propagates subscriptions to queue managers as part of a hierarchy or as part of a publish/subscribe cluster (parameter identifier: MQIA_SUB_SCOPE). The value can be:

      MQSCOPE_ALL
      Subscriptions for this topic are propagated to hierarchically connected queue managers and to publish/subscribe cluster-connected queue managers.

      MQSCOPE_AS_PARENT
      Whether this queue manager will propagate subscriptions to queue managers as part of a hierarchy or as part of a publish/subscribe cluster is based on the setting of the first parent administrative node found in the topic tree relating to this topic.

      This is the default value for this parameter if no value is specified.

      MQSCOPE_QMGR
      Subscriptions for this topic are not propagated to other queue managers.

    Note: We can override this behavior on a subscription-by-subscription basis, using MQSO_SCOPE_QMGR on the Subscription Descriptor or SUBSCOPE(QMGR) on DEFINE SUB.

    TopicDesc (MQCFST)
    Topic description (parameter identifier: MQCA_TOPIC_DESC).

    The maximum length is MQ_TOPIC_DESC_LENGTH.

    TopicName (MQCFST)
    Topic object name (parameter identifier: MQCA_TOPIC_NAME).

    The maximum length of the string is MQ_TOPIC_NAME_LENGTH.

    TopicString (MQCFST)
    The topic string (parameter identifier: MQCA_TOPIC_STRING).

    The '/' character within this string has special meaning. It delimits the elements in the topic tree. A topic string can start with the '/' character but is not required to. A string starting with the '/' character is not the same as the string which starts without the '/' character. A topic string cannot end with the "/" character.

    The maximum length of the string is MQ_TOPIC_STR_LENGTH.

    TopicType (MQCFIN)
    Whether this object is a local or cluster topic (parameter identifier: MQIA_TOPIC_TYPE). The value can be:

      MQTOPT_LOCAL
      This object is a local topic.

      MQTOPT_CLUSTER
      This object is a cluster topic.

    WildcardOperation (MQCFIN)
    Behavior of subscriptions including wildcards made to this topic (parameter identifier: MQIA_WILDCARD_OPERATION). The value can be any of the following values:

      MQTA_PASSTHRU
      Subscriptions made using wildcard topic names that are less specific than the topic string at this topic object will receive publications made to this topic and to topic strings more specific than this topic. This is the default supplied with IBM MQ .

      MQTA_BLOCK
      Subscriptions made using wildcard topic names that are less specific than the topic string at this topic object will not receive publications made to this topic or to topic strings more specific than this topic.