Tag Archives: tibco ems

TIBCO EMS COMMANDS

create a usercreate user [“user_description”] [password=]
create ems object queue create queue queuename
create ems object topiccreate topic topicname
delete ems object queue delete queue queuename
delete ems object topicdelete topic topicname
create durable
see all queuesshow queues
see all topics show topics
show topic nameshow topic topic_name
show queue nameshow queue queue_name
clean or purge or remove messages in queue“purge queue queuename
purge all queues”
add properties to queue ems object“addprop queue queuenmae properties  (appened or add to existing prop)

setprop queue queuenmae properties  (keep only expiration ,remove rest)

properties like : secure ,global,expiration,Failsafe,Maxbytes,maxmsgs,OverflowPolicy,Default,DiscardOld,rejectIncoming,sender_name,sender_name_enforced,flowcontrol,trace,export,import,maxRedelivery,Undelivered Message Queue,exclusive,prefetch,expiration”
add expiration properties to queue ems object“addprop queue queuenmae expiration=24hour (appened or add to existing prop)

setprop queue queuenmae expiration=24hour (keep only expiration ,remove rest)”
difference between add prop and set prop “addprop queue queuenmae expiration=24hour (append or add to existing prop)

setprop queue queuenmae expiration=24hour (keep only expiration ,remove rest)”
add secure properties to queue ems object“ems server will check user permissions on the ems object if secure property enabled

addprop queue queuenmae secure (append or add to existing prop)

setprop queue queuenmae secure ( only secure and remove rest of the properties)”
add global properties to queue ems object“global property helps to route messages between the ems servers

addprop queue queuenmae global (appened or add to existing prop)

setprop queue queuenmae global ( only global and remove rest of the properties)”
add Failsafe properties to queue ems object
add Maxbytes properties to queue ems object“Maxbytes=value [KB|MB|GB]  maxbytes is zero, or is not set
if maxbytes message is exceed will be rejected by ems server and prodcure not able to publish
addprop queue queuenmae Maxbytes=1000MB (appened or add to existing prop)
setprop queue queuenmae Maxbytes=1000MB ( only Maxbytes and remove rest of the properties)”””
add maxmsgs properties to queue ems object“maxmsgs=value  maxmsgs is zero, or is not set(unlimited)
if maxmsgs message is exceed will be rejected by ems server and prodcure not able to publish

setprop queue queuenmae maxmsgs=1000 ( only maxmsgs and remove rest of the properties)”””

addprop queue queuenmae maxmsgs=1000 (appened or add to existing prop)
add OverflowPolicy properties to queue ems object“OverflowPolicy=default | discardOld | rejectIncoming (messages effected by maxbytes or maxmsgs)

setprop queue queuenmae OverflowPolicy=rejectIncoming ( only OverflowPolicy and remove rest of the properties)”””

addprop queue queuenmae OverflowPolicy=rejectIncoming (appened or add to existing prop)