TIBCO JMS attributes

The tibemsadmin command is a command line utility used to create JMS objects, and to configure user and group permissions in TIBCO. This tool is available in the <TIBCO>/ems/8.1/bin directory. The table provides a list of attributes used to create JMS objects, configure users, groups, and permissions in the TIBCO Enterprise Messaging Server using the tibemsadmin command.

Table 1. TIBCO JMS attributes
Attribute Description
tibemsd The command used to start TIBCO server.
tibemsadmin The command used to start the TIBCO admin tool.
create factory <Connection Factory Name> <Connection Factory Type> The command used to create a Queue Connection Factory. Example: create factory secureqcf queue
addprop factory <Connection Factory Name> url=<url-string> The command used to set up an URL to listen to an external address such that the Queue Connection Factory is accessible from other hosts. Example: addprop factory secureqcf url=tcp://devhost:7222
addprop queue <queuename> <propertyname>=<value> Enables you to add a property to an existing queue. Example:

addprop queue myqueue prefetch=1

Where:

- the queue is called myqueue

- the property is prefetch

- the property value to assign is "1"

create queue <queue-name> The command used to create a queue. Example: create queue securequeue. Note: When creating a queue, you can specify properties to be set as part of the commend by adding <propertyname>=<value> after the queue name. Example: create queue securequeue prefetch=1
create user <username> The command used to create a user. Example: create user secureuser
set password <username> < new password> The command used to create a password for a user. Example: set password secureuser securepassword.
create group <groupname> The command used to create a group. Example: create group securegroup
add member <group name> <user to be added> The command used to add a user to a group. Example: add member securegroup secureuserser
grant queue <queuname> group = <groupname> <permission> The command used to set the requisite permissions on a queue for a group.

Example:

grant queue securequeue group=securegroup send

grant queue securequeue group=securegroup receive

grant queue securequeue group=securegroup browse

addprop queue <queuename> secure The command used to enable authorization for a queue. Example: addprop queue securequeue secure
setprop queue <queue-name> prefetch=1 If queue name is myQueue, then the command is setprop queue myQueue prefetch=1