Setting up Queue Configuration

Prerequisites

If you are in the process of synchronizing 1WorldSync datapool, do not follow the steps listed here for queue setup; instead use the out-of-the-box queue configuration.

Procedure

  1. Queue Setup for CIM to CIM Integration Messages:
    • For communication between two enterprises, you need gateways to transport messages across two firewalls and from the Q_ECM_INTGR_STD_OUTBOUND_INTGR_MSG queue of the sender instance to Q_ECM_INTGR_STD_INBOUND_INTGR_MSG queue of the receiver instance. These gateways cannot be used for testing, but a simple trick can be used to simulate it.
    • Because the messaging framework helps in mapping the logical and physical queue names and supports connectivity to multiple JMS servers from the same instance, you can use the Q_ECM_INTGR_STD_INBOUND_INTGR_MSG physical queue hosted on one of the JMS servers (the one connected to VeloselMarketplace) and map it to:
      • the StandardOutboundIntgrMsg logical queue used to send outbound integration messages from the BrandOwner instance.
      • the StandardInboundIntgrMsg logical queue used to receive inbound integration messages in the VeloselMarketplace instance.
  2. The following changes need to be done in ConfigValues.xml. To connect to two different queue managers, BrandOwner will need two different clusters. If BrandOwner uses TIBCO EMS, add the following lines to ConfigValues.xml after the TIBCO Messaging Cluster section.
    • Change 1, search for <Category name="TIBCO EMS" visibility="Advanced">.
Add the following lines:
      <!- V2V ENTRIES ->
      <ConfValue description="com.tibco.cim.queue.cluster.TIBCOCluster2 - added for v2v" name="com.tibco.cim.queue.cluster.TIBCOCluster2" propname="com.tibco.cim.queue.cluster.TIBCOCluster2" readonly="false" sinceVersion="7.1" visibility="Basic">
        <ConfString default="inherit:com.tibco.cim.queue.cluster.DefCluster"   value="inherit:com.tibco.cim.queue.cluster.DefCluster"/>
      </ConfValue>
      <ConfValue description="com.tibco.cim.queue.cluster.TIBCOCluster2.clusterLiaison.class - added for v2v" name="com.tibco.cim.queue.cluster.TIBCOCluster2.clusterLiaison.class" propname="com.tibco.cim.queue.cluster.TIBCOCluster2.clusterLiaison.class" readonly="false" sinceVersion="7.1" visibility="Basic">
        <ConfString default =   "com.tibco.mdm.integration.messaging.queue.tibco.TIBCOClusterLiaison"   value =   "com.tibco.mdm.integration.messaging.queue.tibco.TIBCOClusterLiaison"/>
      </ConfValue>
      <ConfValue description = "com.tibco.cim.queue.cluster.TIBCOCluster2.defUser - added for v2v" name = "com.tibco.cim.queue.cluster.TIBCOCluster2.defUser" propname = "com.tibco.cim.queue.cluster.TIBCOCluster2.defUser" readonly = "false" sinceVersion = "7.1" visibility = "Basic">
        <ConfString default = "admin" value = "admin"/>
      </ConfValue>
      <ConfValue description = "com.tibco.cim.queue.cluster.TIBCOCluster2.defPassword - added for v2v" name = "com.tibco.cim.queue.cluster.TIBCOCluster2.defPassword" propname = "com.tibco.cim.queue.cluster.TIBCOCluster2.defPassword" readonly = "false" sinceVersion = "7.1" visibility = "Basic">
        <ConfString default = "" value = ""/>
      </ConfValue>
      <ConfValue description = "com.tibco.cim.queue.cluster.TIBCOCluster2.defClientID - added for v2v" name = "com.tibco.cim.queue.cluster.TIBCOCluster2.defClientID" propname = "com.tibco.cim.queue.cluster.TIBCOCluster2.defClientID" readonly = "false" sinceVersion = "7.1" visibility = "Basic">
        <ConfString default = "null" value = "null"/>
      </ConfValue>
      <ConfValue description = "com.tibco.cim.queue.cluster.TIBCOCluster2.clusterLiaison.clusteredServers" name = "com.tibco.cim.queue.cluster.TIBCOCluster2.clusterLiaison.clusteredServers" propname = "com.tibco.cim.queue.cluster.TIBCOCluster2.clusterLiaison.clusteredServers" readonly = "false" sinceVersion = "7.1" visibility = "Basic">
        <ConfString default = "LocalhostServer" value = "LocalhostServer"/>
      </ConfValue>
      <ConfValue description = "com.tibco.cim.queue.cluster.TIBCOCluster2.clusterLiaison.clusteredServer.LocalhostServer" name = "com.tibco.cim.queue.cluster.TIBCOCluster2.clusterLiaison.clusteredServer.LocalhostServer" propname = "com.tibco.cim.queue.cluster.TIBCOCluster2.clusterLiaison.clusteredServer.LocalhostServer" readonly = "false" sinceVersion = "7.1" visibility = "Basic">
        <ConfString default = "tcp://localhost:7222" value = "tcp://localhost:7222"/>
      </ConfValue>
      <ConfValue description = "com.tibco.cim.queue.cluster.TIBCOCluster2.clusterLiaison.clusteredServer.encoding.LocalhostServer - added for v2v" name = "com.tibco.cim.queue.cluster.TIBCOCluster2.clusterLiaison.clusteredServer.encoding.LocalhostServer" propname = "com.tibco.cim.queue.cluster.TIBCOCluster2.clusterLiaison.clusteredServer.encoding.LocalhostServer" readonly = "false" sinceVersion = "7.1" visibility = "Basic">
        <ConfString default = "UTF-8" value = "UTF-8"/>
      </ConfValue>
      <ConfValue description = "com.tibco.cim.queue.queue.StandardOutboundIntgrMsg.cluster - added for v2v" name = "com.tibco.cim.queue.queue.StandardOutboundIntgrMsg.cluster" propname = "com.tibco.cim.queue.queue.StandardOutboundIntgrMsg.cluster" readonly = "false" sinceVersion = "7.1" visibility = "Basic">
        <ConfString default = "TIBCOCluster2" value = "TIBCOCluster2"/>
      </ConfValue>
      <ConfValue description = "com.tibco.cim.queue.queue.StandardOutboundIntgrMsg.addToJNDI - added for v2v" name = "com.tibco.cim.queue.queue.StandardOutboundIntgrMsg.addToJNDI" propname = "com.tibco.cim.queue.queue.StandardOutboundIntgrMsg.addToJNDI" readonly = "false" sinceVersion = "7.1" visibility = "Basic">
        <ConfBool default = "false" value = "false"/>
      </ConfValue>
      <ConfValue description = "com.tibco.cim.queue.queue.StandardInboundIntgrMsg.cluster - added for v2v" name = "com.tibco.cim.queue.queue.StandardInboundIntgrMsg.cluster" propname = "com.tibco.cim.queue.queue.StandardInboundIntgrMsg.cluster" readonly = "false" sinceVersion = "7.1" visibility = "Basic">
        <ConfString default = "TIBCOCluster2" value = "TIBCOCluster2"/>
      </ConfValue>
    • Change 2, search for <Category name="StandardOutboundIntgrMsg" visibility="Advanced">. Add the following lines:
      <!- V2V ENTRIES ->
      <ConfValue description = "" isHotDeployable = "false" name = "EMS Queue Name" propname = "com.tibco.cim.queue.queue.StandardOutboundIntgrMsg.cluster.TIBCOCluster2.queue" sinceVersion = "7.0" visibility = "Advanced">
        <ConfString default = "Q_ECM_INTGR_STD_OUTBOUND_INTGR_MSG"    value =   "Q_ECM_INTGR_STD_OUTBOUND_INTGR_MSG"/>
      </ConfValue>
    • Change 3, search for <Category name="StandardInboundIntgrMsg" visibility="Advanced">. Add the following lines:
      <!- V2V ENTRIES ->
       <ConfValue description="" isHotDeployable="false" name="EMS Queue  Name"  propname="com.tibco.cim.queue.queue.StandardInboundIntgrMsg.clust er.TIBCOCluster2.queue" sinceVersion="7.0" visibility="Advanced">
        <ConfString default="Q_ECM_INTGR_STD_ OUTBOUND _INTGR_MSG"    value="Q_ECM_INTGR_STD_ OUTBOUND_INTGR_MSG"/>
      </ConfValue>