Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Configuration files of JMS logical names (destinations.json) are stored by this path: 

Info
titlePath to aliases

estar/tpe/dynamic/mc2/eaglejms/destinations/*.json


This is common configuration format of destinations.json:

Code Block
languagejs
themeRDark
firstline1
titlealiases.json
linenumberstrue
{
    "Region": "Oracle SID",/*Specific Oracle SID of region name to which this config belongs*/
    "Queues": [
        { "alias": "logicalname_1", "destination": "real queue name" },
        { "alias": "logicalname_2", "destination": "real queue name" }
    ],
    //=================================================================
    "Topics": [
        { "alias": "logicalname_3", "destination": "real topic name" },
        { "alias": "logicalname_4", "destination": "real topic name" }
    ]
}


Rules being applied for aliases:

  • all logical names for all Queues & Topics sections must be unique (if you have a set of json-files of aliases - it will be applied for all of them together)
  • destination names (physical names) should not be empty, otherwise it will be skipped
  • Be aware! We will search for alias name in Queues section first and only then for Topics - it means if we will find alias name in Queues section first we will consider it as a queue destination in spite of you wanted topic subscription.