martes, 17 de septiembre de 2019

TIBCO BW6 EMS Configuracion

TIBCO BW6 EMS Configuracion




C:\Program Files\tibco\bw6\bw\6.5\bin>.\bwinstall.exe ems-driver
Buildfile: C:\Program Files\tibco\bw6\bw\6.5\scripts\bwinstall.xml

ems-driver:

-init-bw:

-ems-home-location:
    [input] Please enter full path to the EMS Home components plugin folder including the components folder (typically  EMS_HOME/components//shared/1.0.0/plugins) :
C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins
     [echo]
     [echo] zip.dir: C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins
     [echo] zip: C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins
     [echo] tibco.home: C:/Program Files/tibco/bw6
     [echo] bw.home: C:/Program Files/tibco/bw6/bw/6.5
     [echo] tibco.java.home: C:/Program Files/tibco/bw6/tibcojre64/1.8.0

delete-jmsclient:
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.1.0.010\META-INF\MANIFEST.MF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.1.0.010\plugin.properties
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.1.0.010\META-INF\MANIFEST.MF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.1.0.010\plugin.properties
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.1.0.010\META-INF\MANIFEST.MF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.1.0.010\plugin.properties
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.1.0.010\META-INF\MANIFEST.MF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.1.0.010\plugin.properties
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.1.0.010\META-INF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.1.0.010
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.1.0.010\META-INF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.1.0.010
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.1.0.010\META-INF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.1.0.010
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.1.0.010\META-INF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.1.0.010

copy-new-jmsclient:
     [copy] Copying 12 files to C:\Program Files\tibco\bw6\bw\6.5\system\shared
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.admin_8.4.0.014\META-INF\MANIFEST.MF to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.4.0.014\META-INF\MANIFEST.MF
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.admin_8.4.0.014\plugin.properties to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.4.0.014\plugin.properties
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.admin_8.4.0.014\tibjmsadmin.jar to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.4.0.014\tibjmsadmin.jar
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.rv_8.4.0.014\META-INF\MANIFEST.MF to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.4.0.014\META-INF\MANIFEST.MF
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.rv_8.4.0.014\plugin.properties to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.4.0.014\plugin.properties
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.rv_8.4.0.014\tibrvjms.jar to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.4.0.014\tibrvjms.jar
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.ufo_8.4.0.014\META-INF\MANIFEST.MF to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.4.0.014\META-INF\MANIFEST.MF
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.ufo_8.4.0.014\plugin.properties to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.4.0.014\plugin.properties
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.ufo_8.4.0.014\tibjmsufo.jar to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.4.0.014\tibjmsufo.jar
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014\META-INF\MANIFEST.MF to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.4.0.014\META-INF\MANIFEST.MF
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014\plugin.properties to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.4.0.014\plugin.properties
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014\tibjms.jar to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.4.0.014\tibjms.jar

setup-bwthor-launch:

-setup-bwthor-launch:
[setupbwthorlaunch] ==>TIBCO Home: C:/Program Files/tibco/bw6
[setupbwthorlaunch] ==>BW Home: C:/Program Files/tibco/bw6/bw/6.5
[setupbwthorlaunch] ==>BW Thor provisioning properties: C:/Program Files/tibco/bw6/eclipse-platform/bundlepool/1.0/org.eclipse.equinox.p2.touchpoint.eclipse/plugins/com.tibco.bw.thor.launch_1.3.700.001/provisioning.properties
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\hotfix\lib\common
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\lib\common
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\hotfix\shared
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\shared
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\hotfix\palettes
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\palettes
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001

copy-new-jmsclient-design:

-copy-new-jmsclient-design:
     [echo] emsclient.design.dir.path=C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.jms.jmsclient.eclipse_6.4.0.001
     [echo] jmsclient.src.dir.path=C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014

-copyEMSClientDesign:
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.jms.jmsclient.eclipse_6.4.0.001
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014\tibjms.jar to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.jms.jmsclient.eclipse_6.4.0.001\tibjms.jar

-copyJavaxJMSDesign:
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.tpcl.javax.jms.eclipse_1.10.0.001
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.tpcl.javax.jms_2.0.0.002\jms-2.0.jar to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.tpcl.javax.jms.eclipse_1.10.0.001\jms.jar
     [echo] emsclient.design.dir.path=C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.jms.jmsclient.eclipse_6.4.0.001
     [echo] jmsclient.src.dir.path=C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014

install-ems-driver:

BUILD SUCCESSFUL
Total time: 2 minutes 45 seconds


Conecectar/Desconectar

> connect tcp://localhost:7222
Login name (admin): admin
Password:
Connected to: tcp://localhost:7222

tcp://localhost:7222> disconnect
Disconnected from tcp://localhost:7222



Queues disponibles

tcp://localhost:7222> show queues
                                                              All Msgs            Persistent Msgs
  Queue Name                        SNFGXIBCT  Pre  Rcvrs     Msgs    Size        Msgs    Size
  >                                 ---------    5*     0        0     0.0 Kb        0     0.0 Kb
  $sys.admin                        +--------    5*     0        0     0.0 Kb        0     0.0 Kb
  $sys.lookup                       ---------    5*     0        0     0.0 Kb        0     0.0 Kb
  $sys.redelivery.delay             +--------    5*     0        0     0.0 Kb        0     0.0 Kb
  $sys.undelivered                  +--------    5*     0        0     0.0 Kb        0     0.0 Kb
* $TMP$.EMS-SERVER.4D7C5D81836C3.1  ---------    5      1        0     0.0 Kb        0     0.0 Kb
  queue.sample                      ---------    5*     0        0     0.0 Kb        0     0.0 Kb
  sample                            ---------    5*     0        0     0.0 Kb        0     0.0 Kb
tcp://localhost:7222>


Topicos

tcp://localhost:7222> show topics
                                                               All Msgs            Persistent Msgs
  Topic Name                        SNFGEIBCTM  Subs  Durs     Msgs    Size        Msgs    Size
  >                                 ----------     0     0        0     0.0 Kb        0     0.0 Kb
  sample                            ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample                      ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.exported             ----+-----     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.imported             -----+----     0     0        0     0.0 Kb        0     0.0 Kb

tcp://localhost:7222> create topic testTopic
Topic 'testTopic' has been created
tcp://localhost:7222> show topics                                                               All Msgs            Persistent Msgs
  Topic Name                        SNFGEIBCTM  Subs  Durs     Msgs    Size        Msgs    Size
  >                                 ----------     0     0        0     0.0 Kb        0     0.0 Kb
  sample                            ----------     0     0        0     0.0 Kb        0     0.0 Kb
  testTopic                         ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample                      ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.exported             ----+-----     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.imported             -----+----     0     0        0     0.0 Kb        0     0.0 Kb

tcp://localhost:7222> delete topic testTopic
Are you sure (yes,no)? y
Topic 'testTopic' has been deleted
tcp://localhost:7222> show topics
                                                               All Msgs            Persistent Msgs
  Topic Name                        SNFGEIBCTM  Subs  Durs     Msgs    Size        Msgs    Size
  >                                 ----------     0     0        0     0.0 Kb        0     0.0 Kb
  sample                            ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample                      ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.exported             ----+-----     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.imported             -----+----     0     0        0     0.0 Kb        0     0.0 Kb

Modificar propiedades de Topics

tcp://localhost:7222> create topic testTopic
Topic 'testTopic' has been created
tcp://localhost:7222> show topic testTopic
 Topic:                 testTopic
 Type:                  static
 Properties:            *prefetch=64,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Subscriptions:         0
 Durable Subscriptions: 0
 Consumers:             0
 Durable Consumers:     0
 Pending Msgs:          0, (0 persistent)
 Pending Msgs Size:     0.0 Kb, (0.0 Kb persistent)
 Total Inbound Msgs:    0
 Total Inbound Bytes:   0.0 Kb
 Total Outbound Msgs:   0
 Total Outbound Bytes:  0.0 Kb
tcp://localhost:7222> addprop topic testTopic secure
Topic 'testTopic' has been modified


tcp://localhost:7222> show topic testTopic
 Topic:                 testTopic
 Type:                  static
 Properties:            secure,*prefetch=64,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Subscriptions:         0
 Durable Subscriptions: 0
 Consumers:             0
 Durable Consumers:     0
 Pending Msgs:          0, (0 persistent)
 Pending Msgs Size:     0.0 Kb, (0.0 Kb persistent)
 Total Inbound Msgs:    0
 Total Inbound Bytes:   0.0 Kb
 Total Outbound Msgs:   0
 Total Outbound Bytes:  0.0 Kb

tcp://localhost:7222> removeprop topic testTopic secure
Topic 'testTopic' has been modified
tcp://localhost:7222> show topic testTopic
 Topic:                 testTopic
 Type:                  static
 Properties:            *prefetch=64,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Subscriptions:         0
 Durable Subscriptions: 0
 Consumers:             0
 Durable Consumers:     0
 Pending Msgs:          0, (0 persistent)
 Pending Msgs Size:     0.0 Kb, (0.0 Kb persistent)
 Total Inbound Msgs:    0
 Total Inbound Bytes:   0.0 Kb
 Total Outbound Msgs:   0
 Total Outbound Bytes:  0.0 Kb

Generamos algunos mensajes al queue queue.sample

tcp://localhost:7222> show queue queue.sample
 Queue:                 queue.sample
 Type:                  static
 Properties:            *prefetch=5,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Receivers:             0
 Pending Msgs:          0, (0 persistent)
 Delivered Msgs:        0
 Pending Msgs Size:     0.1 Kb, (0.0 Kb persistent)

TIBCO BW6 JMSsimple




C:\Program Files\tibco\bw6\bw\6.5\bin>.\bwinstall.exe ems-driver
Buildfile: C:\Program Files\tibco\bw6\bw\6.5\scripts\bwinstall.xml

ems-driver:

-init-bw:

-ems-home-location:
    [input] Please enter full path to the EMS Home components plugin folder including the components folder (typically  EMS_HOME/components//shared/1.0.0/plugins) :
C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins
     [echo]
     [echo] zip.dir: C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins
     [echo] zip: C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins
     [echo] tibco.home: C:/Program Files/tibco/bw6
     [echo] bw.home: C:/Program Files/tibco/bw6/bw/6.5
     [echo] tibco.java.home: C:/Program Files/tibco/bw6/tibcojre64/1.8.0

delete-jmsclient:
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.1.0.010\META-INF\MANIFEST.MF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.1.0.010\plugin.properties
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.1.0.010\META-INF\MANIFEST.MF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.1.0.010\plugin.properties
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.1.0.010\META-INF\MANIFEST.MF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.1.0.010\plugin.properties
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.1.0.010\META-INF\MANIFEST.MF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.1.0.010\plugin.properties
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.1.0.010\META-INF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.1.0.010
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.1.0.010\META-INF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.1.0.010
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.1.0.010\META-INF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.1.0.010
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.1.0.010\META-INF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.1.0.010

copy-new-jmsclient:
     [copy] Copying 12 files to C:\Program Files\tibco\bw6\bw\6.5\system\shared
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.admin_8.4.0.014\META-INF\MANIFEST.MF to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.4.0.014\META-INF\MANIFEST.MF
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.admin_8.4.0.014\plugin.properties to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.4.0.014\plugin.properties
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.admin_8.4.0.014\tibjmsadmin.jar to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.4.0.014\tibjmsadmin.jar
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.rv_8.4.0.014\META-INF\MANIFEST.MF to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.4.0.014\META-INF\MANIFEST.MF
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.rv_8.4.0.014\plugin.properties to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.4.0.014\plugin.properties
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.rv_8.4.0.014\tibrvjms.jar to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.4.0.014\tibrvjms.jar
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.ufo_8.4.0.014\META-INF\MANIFEST.MF to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.4.0.014\META-INF\MANIFEST.MF
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.ufo_8.4.0.014\plugin.properties to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.4.0.014\plugin.properties
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.ufo_8.4.0.014\tibjmsufo.jar to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.4.0.014\tibjmsufo.jar
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014\META-INF\MANIFEST.MF to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.4.0.014\META-INF\MANIFEST.MF
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014\plugin.properties to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.4.0.014\plugin.properties
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014\tibjms.jar to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.4.0.014\tibjms.jar

setup-bwthor-launch:

-setup-bwthor-launch:
[setupbwthorlaunch] ==>TIBCO Home: C:/Program Files/tibco/bw6
[setupbwthorlaunch] ==>BW Home: C:/Program Files/tibco/bw6/bw/6.5
[setupbwthorlaunch] ==>BW Thor provisioning properties: C:/Program Files/tibco/bw6/eclipse-platform/bundlepool/1.0/org.eclipse.equinox.p2.touchpoint.eclipse/plugins/com.tibco.bw.thor.launch_1.3.700.001/provisioning.properties
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\hotfix\lib\common
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\lib\common
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\hotfix\shared
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\shared
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\hotfix\palettes
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\palettes
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001

copy-new-jmsclient-design:

-copy-new-jmsclient-design:
     [echo] emsclient.design.dir.path=C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.jms.jmsclient.eclipse_6.4.0.001
     [echo] jmsclient.src.dir.path=C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014

-copyEMSClientDesign:
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.jms.jmsclient.eclipse_6.4.0.001
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014\tibjms.jar to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.jms.jmsclient.eclipse_6.4.0.001\tibjms.jar

-copyJavaxJMSDesign:
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.tpcl.javax.jms.eclipse_1.10.0.001
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.tpcl.javax.jms_2.0.0.002\jms-2.0.jar to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.tpcl.javax.jms.eclipse_1.10.0.001\jms.jar
     [echo] emsclient.design.dir.path=C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.jms.jmsclient.eclipse_6.4.0.001
     [echo] jmsclient.src.dir.path=C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014

install-ems-driver:

BUILD SUCCESSFUL
Total time: 2 minutes 45 seconds


Conecectar/Desconectar

> connect tcp://localhost:7222
Login name (admin): admin
Password:
Connected to: tcp://localhost:7222

tcp://localhost:7222> disconnect
Disconnected from tcp://localhost:7222



Queues disponibles

tcp://localhost:7222> show queues
                                                              All Msgs            Persistent Msgs
  Queue Name                        SNFGXIBCT  Pre  Rcvrs     Msgs    Size        Msgs    Size
  >                                 ---------    5*     0        0     0.0 Kb        0     0.0 Kb
  $sys.admin                        +--------    5*     0        0     0.0 Kb        0     0.0 Kb
  $sys.lookup                       ---------    5*     0        0     0.0 Kb        0     0.0 Kb
  $sys.redelivery.delay             +--------    5*     0        0     0.0 Kb        0     0.0 Kb
  $sys.undelivered                  +--------    5*     0        0     0.0 Kb        0     0.0 Kb
* $TMP$.EMS-SERVER.4D7C5D81836C3.1  ---------    5      1        0     0.0 Kb        0     0.0 Kb
  queue.sample                      ---------    5*     0        0     0.0 Kb        0     0.0 Kb
  sample                            ---------    5*     0        0     0.0 Kb        0     0.0 Kb
tcp://localhost:7222>


Topicos

tcp://localhost:7222> show topics
                                                               All Msgs            Persistent Msgs
  Topic Name                        SNFGEIBCTM  Subs  Durs     Msgs    Size        Msgs    Size
  >                                 ----------     0     0        0     0.0 Kb        0     0.0 Kb
  sample                            ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample                      ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.exported             ----+-----     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.imported             -----+----     0     0        0     0.0 Kb        0     0.0 Kb

tcp://localhost:7222> create topic testTopic
Topic 'testTopic' has been created
tcp://localhost:7222> show topics                                                               All Msgs            Persistent Msgs
  Topic Name                        SNFGEIBCTM  Subs  Durs     Msgs    Size        Msgs    Size
  >                                 ----------     0     0        0     0.0 Kb        0     0.0 Kb
  sample                            ----------     0     0        0     0.0 Kb        0     0.0 Kb
  testTopic                         ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample                      ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.exported             ----+-----     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.imported             -----+----     0     0        0     0.0 Kb        0     0.0 Kb

tcp://localhost:7222> delete topic testTopic
Are you sure (yes,no)? y
Topic 'testTopic' has been deleted
tcp://localhost:7222> show topics
                                                               All Msgs            Persistent Msgs
  Topic Name                        SNFGEIBCTM  Subs  Durs     Msgs    Size        Msgs    Size
  >                                 ----------     0     0        0     0.0 Kb        0     0.0 Kb
  sample                            ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample                      ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.exported             ----+-----     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.imported             -----+----     0     0        0     0.0 Kb        0     0.0 Kb

Modificar propiedades de Topics

tcp://localhost:7222> create topic testTopic
Topic 'testTopic' has been created
tcp://localhost:7222> show topic testTopic
 Topic:                 testTopic
 Type:                  static
 Properties:            *prefetch=64,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Subscriptions:         0
 Durable Subscriptions: 0
 Consumers:             0
 Durable Consumers:     0
 Pending Msgs:          0, (0 persistent)
 Pending Msgs Size:     0.0 Kb, (0.0 Kb persistent)
 Total Inbound Msgs:    0
 Total Inbound Bytes:   0.0 Kb
 Total Outbound Msgs:   0
 Total Outbound Bytes:  0.0 Kb
tcp://localhost:7222> addprop topic testTopic secure
Topic 'testTopic' has been modified


tcp://localhost:7222> show topic testTopic
 Topic:                 testTopic
 Type:                  static
 Properties:            secure,*prefetch=64,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Subscriptions:         0
 Durable Subscriptions: 0
 Consumers:             0
 Durable Consumers:     0
 Pending Msgs:          0, (0 persistent)
 Pending Msgs Size:     0.0 Kb, (0.0 Kb persistent)
 Total Inbound Msgs:    0
 Total Inbound Bytes:   0.0 Kb
 Total Outbound Msgs:   0
 Total Outbound Bytes:  0.0 Kb

tcp://localhost:7222> removeprop topic testTopic secure
Topic 'testTopic' has been modified
tcp://localhost:7222> show topic testTopic
 Topic:                 testTopic
 Type:                  static
 Properties:            *prefetch=64,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Subscriptions:         0
 Durable Subscriptions: 0
 Consumers:             0
 Durable Consumers:     0
 Pending Msgs:          0, (0 persistent)
 Pending Msgs Size:     0.0 Kb, (0.0 Kb persistent)
 Total Inbound Msgs:    0
 Total Inbound Bytes:   0.0 Kb
 Total Outbound Msgs:   0
 Total Outbound Bytes:  0.0 Kb

Generamos algunos mensajes al queue queue.sample

tcp://localhost:7222> show queue queue.sample
 Queue:                 queue.sample
 Type:                  static
 Properties:            *prefetch=5,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Receivers:             0
 Pending Msgs:          0, (0 persistent)
 Delivered Msgs:        0
 Pending Msgs Size:     0.1 Kb, (0.0 Kb persistent)





tcp://localhost:7222> show queue queue.sample
 Queue:                 queue.sample
 Type:                  static
 Properties:            *prefetch=5,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Receivers:             0
 Pending Msgs:          11, (0 persistent)
 Delivered Msgs:        0
 Pending Msgs Size:     1.5 Kb, (0.0 Kb persistent)

De la misma forma generamos algunos mensajes persistentes

tcp://localhost:7222> show queue queue.sample
 Queue:                 queue.sample
 Type:                  static
 Properties:            *prefetch=5,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Receivers:             0
 Pending Msgs:          14, (3 persistent)
 Delivered Msgs:        0
 Pending Msgs Size:     1.9 Kb, (0.4 Kb persistent)

Purgamos el queue

tcp://localhost:7222> purge queue queue.sample
Are you sure (yes,no)? y
Queue 'queue.sample' has been purged
tcp://localhost:7222> show queue queue.sample
 Queue:                 queue.sample
 Type:                  static
 Properties:            *prefetch=5,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Receivers:             0
 Pending Msgs:          0, (0 persistent)
 Delivered Msgs:        0
 Pending Msgs Size:     0.0 Kb, (0.0 Kb persistent)

tcp://localhost:7222> whoami
You are 'admin'
tcp://localhost:7222> info
 Server:                   EMS-SERVER (version: 8.4.0 V27)
 Hostname:                 DESKTOP-SP1QBTI
 Process Id:               21236
 State:                    active
 Runtime Module Path:      C:\Program Files\tibco\bw6\ems\8.4\bin
 Topics:                   6 (0 dynamic, 0 temporary)
 Queues:                   8 (0 dynamic, 1 temporary)
 Client Connections:       0
 Admin Connections:        1
 Sessions:                 1
 Producers:                1
 Consumers:                1
 Durables:                 0
 Log File Size:            5.8 Kb
 Pending Messages:         0
 Pending Message Size:     0.0 Kb
 Message Memory Usage:     12.6 Kb out of 512MB
 Message Memory Pooled:    52.0 Kb
 Synchronous Storage:      2.0 Kb
 Asynchronous Storage:     4.5 Kb
 Fsync for Sync Storage:   disabled
 Inbound Message Rate:     0 msgs/sec,  0.0 Kb per second
 Outbound Message Rate:    0 msgs/sec,  0.0 Kb per second
 Storage Read Rate:        0 reads/sec,  0.0 Kb per second
 Storage Write Rate:       0 writes/sec, 0.0 Kb per second
 Uptime:                   57 minutes

tcp://localhost:7222> show topic testTopic
 Topic:                 testTopic
 Type:                  static
 Properties:            *prefetch=64,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Subscriptions:         0
 Durable Subscriptions: 0
 Consumers:             0
 Durable Consumers:     0
 Pending Msgs:          0, (0 persistent)
 Pending Msgs Size:     0.0 Kb, (0.0 Kb persistent)
 Total Inbound Msgs:    0
 Total Inbound Bytes:   0.0 Kb
 Total Outbound Msgs:   0
 Total Outbound Bytes:  0.0 Kb
tcp://localhost:7222> setprop topic testTopic sender_name
Topic 'testTopic' has been modified
tcp://localhost:7222> setprop topic testTopic nombre_enviador
Error: Invalid topic name or parameters
tcp://localhost:7222> show topic testTopic
 Topic:                 testTopic
 Type:                  static
 Properties:            sender_name,*prefetch=64,*store=$sys.nonfailsafe
 JNDI Names:            <none>
 Bridges:               <none>
 Subscriptions:         0
 Durable Subscriptions: 0
 Consumers:             0
 Durable Consumers:     0
 Pending Msgs:          0, (0 persistent)
 Pending Msgs Size:     0.0 Kb, (0.0 Kb persistent)
 Total Inbound Msgs:    0
 Total Inbound Bytes:   0.0 Kb
 Total Outbound Msgs:   0
 Total Outbound Bytes:  0.0 Kb

Borrar Topic

tcp://localhost:7222> show topics
                                                               All Msgs            Persistent Msgs
  Topic Name                        SNFGEIBCTM  Subs  Durs     Msgs    Size        Msgs    Size
  >                                 ----------     0     0        0     0.0 Kb        0     0.0 Kb
  sample                            ----------     0     0        0     0.0 Kb        0     0.0 Kb
  testTopic                         -+--------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample                      ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.exported             ----+-----     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.imported             -----+----     0     0        0     0.0 Kb        0     0.0 Kb
tcp://localhost:7222> delete topic testTopic
Are you sure (yes,no)? yes
Topic 'testTopic' has been deleted
tcp://localhost:7222> show topic testTopic
Topic 'testTopic' not found
tcp://localhost:7222> show topics
                                                               All Msgs            Persistent Msgs
  Topic Name                        SNFGEIBCTM  Subs  Durs     Msgs    Size        Msgs    Size
  >                                 ----------     0     0        0     0.0 Kb        0     0.0 Kb
  sample                            ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample                      ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.exported             ----+-----     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.imported             -----+----     0     0        0     0.0 Kb        0     0.0 Kb

Ayudas

tcp://localhost:7222> help
----------------------------------------------------------------------
Commands:
   add             addprop         autocommit      commit
   compact         connect         create          delete
   disconnect      echo            exit            grant
   help            info            jaci            purge
   remove          removeprop      resume          revoke
   rotatelog       set             setprop         show
   showacl         shutdown        suspend         time
   timeout         transaction     updatecrl       whoami
----------------------------------------------------------------------
Type 'help commands' for commands summary
Type 'help <command>' to receive help on specified command
Type 'help ssl' for help on SSL parameters for factories and routes.
Type 'help ciphers' for help on cipher names and cipher list syntax.
Type 'help permissions' for help on user and administrative permissions.
----------------------------------------------------------------------
tcp://localhost:7222> help add
----------------------------------------------------------------------
 Command:     add
 Description: add one or more users into group

 Syntax:      add member <group-name> <user-name>[,<user-name2>,...]
----------------------------------------------------------------------
tcp://localhost:7222> help create
----------------------------------------------------------------------
 Command:     create
 Description: creates miscellaneous objects and JNDI names

 Syntax:    create user         <name> [<description>] [password=<password>]
            create group        <name> [<description>]
            create topic        <name> [<properties>]
            create queue        <name> [<properties>]
            create route        <name> url=<url> [zone_name=<zone-name>]
                                [zone_type=<zone-type>] [<properties>]
            create factory      <name> <type> [<properties>]
            create jndiname     <name> topic|queue|jndiname <name>
            create rvcmlistener <transport> <name> <subject>
            create durable      <topic> <name> [<properties>]
            create bridge       source=<type>:<name> target=<type>:<name>
                                [selector=<selector>]

 Details:  topic properties are:
              secure,sender_name[_enforced],overflowPolicy=<value>,
              global,prefetch=<number>,maxbytes=<value>,maxmsgs=<number>,
              import=<transport-name-list>,export=<transport-name-list>,
              flowControl[=<value>],trace[=body],expiration=<seconds>,
              store=<store-name>,channel=<channel-name>
           queue properties are:
              secure,sender_name[_enforced],overflowPolicy=<value>,
              exclusive,global,maxbytes=<value>,maxmsgs=<number>,
              prefetch=<number>|none,import=<transport-name-list>,
              flowControl[=<value>],maxRedelivery=<value>,
              trace[=body],expiration=<seconds>,store=<store-name>,
              redeliveryDelay=<seconds>
           durable properties are:
              clientid=<id>,nolocal,route,selector="<sel>"
           bridge source and target:
              <type> is one of 'topic' or 'queue', <name> is destination name

 Command 'create factory' accepts the same parameters as
 command 'addprop factory'. Please read help for this
 command for more details.

 Factory type is one of: generic, topic, queue, xageneric, xatopic or xaqueue.

 A factory's 'url' parameter is mandatory. If a factory's 'url'
 parameter specified in the form: <protocol>://<port> then
 the hostname is inserted into the URL when JNDI lookup is performed.
 For example if URL is set to "tcp://7222" and the host name is MYHOST then
 when the clients retrieve that factory via JNDI lookup operation, it returns
 the URL: "tcp://MYHOST:7222".

 Command 'create route' must specify 'URL=value' property, a route must have
 the name and URL specified for it to be created.  The command accepts the
 optional properties 'zone_name=<zone-name>' and 'zone_type=<zone-type>'.
 The default zone setting is zone_name='default_mhop_zone' and
 zone_type='mhop'.  Valid zone types are '1hop' and 'mhop'.  Other parameters
 are same as command 'addprop route'.  Please read help for routes command
 for more details.

 Value of maxbytes and flowControl can be specified as the number of bytes,
 number of kilobytes as nnnKB, megabytes as nnnMB or gigabytes as nnnGb.

 Command 'create jndiname FOO jndiname BAR' will create new JNDI name
 'FOO' referring to the same object referred to by JNDI name 'BAR'.
----------------------------------------------------------------------

tcp://localhost:7222> help show
----------------------------------------------------------------------
 Command:     show
 Description: show miscellaneous information

 Syntax:

   show server
   show config
   show state
   show user          [<user-name>]
   show users
   show parents       <user-name>
   show group         <group-name>
   show groups
   show members       <group-name>
   show topic         <topic-name>
   show topics        [<pattern> [notemp|static|dynamic]
                                 [first=n|next=n|last=n]
   show queue         <queue-name>
   show queues        [<pattern> [notemp|static|dynamic]
                                 [first=n|next=n|last=n]
   show durable       <durable-name> [<client ID>]
   show durables      [<topic-name>]
   show connections   [type=q|t|s] [host=<name>] [user=<name>] [version]
                      [address] [counts] [full]
   show route         <route-name>
   show routes
   show factory       <factory-name>
   show factories     [generic|topic|queue]
   show jndiname      <JNDI-name>
   show jndinames     [<type>]
   show message       <messageID>
   show messages      <correlationID>
   show stat          <parameters>
   show transactions
   show transaction <formatID> <gtridlen> <bquallen> <data>
   show rvcmtransportledger  <transport> [<pattern>]
   show rvcmlisteners
   show transports
   show transport     <transport>
   show bridges       [type=queue|topic] [<pattern>]
   show bridge        <queue|topic> <destination-name>
   show db            [<sync|async>]
   show subscriptions <parameters>
   show consumers     <parameters>
   show consumer      <id>
   show store         <store-name>
   show stores
   show channel       <channel-name>
   show channels

 Use "help show topics|queues|durables|consumers|subscriptions|connections|
                stat|jndinames"
 for detailed help on those commands.

 'show topics' and 'show queues' can show all topics or queues or only
 those with names matching the specified pattern.

 Command "show user" prints the name of the currently logged in user.
----------------------------------------------------------------------

tcp://localhost:7222> help autocommit
----------------------------------------------------------------------
 Command:     autocommit
 Description: displays or changes autcommit mode

 Syntax:      autocommit [on|off]

 Details:     When entered without parameters show autocommit mode.
              When autocommit mode is set, the server commits all
              configuration changes automatically after each
              command changing the configuration.
              When autocommit mode is not set all configuration
              changes are performed by the server only in memory
              and not persisted on disk until 'commit' command is called.

 Also See:    commit
----------------------------------------------------------------------
tcp://localhost:7222> help commit
----------------------------------------------------------------------
 Command:     commit
 Description: commits configuration changes on disk

 Syntax:      commit

 Save configuration into the configuration files on disk.
 Normally administration tool is executed (by default) in autocommit=on mode
 when used interactively. When autocommit is set to 'on', every configuration
 change immediately persisted into configuration files. This command may be
 required in the scripts and in case autocommit mode was set to off.
 See description of 'autocommit' command for more details.

 Also See:    autocommit
----------------------------------------------------------------------
tcp://localhost:7222> help compact
----------------------------------------------------------------------
 Command:     compact
 Description: compacts selected store file.

 Syntax:      compact store max-time

 Compacts a store. It takes 2 arguments:

 store      = store name if talking to 5.0 or newer server; otherwise,
            = asynchronous or async or a for asynchronous storage
            = synchronous or sync or s for synchronous storage
 max-time   = upper limit in seconds on compaction time.
              For mstores only, using 'nolimit' triggers a full
              re-write of the mstore WITH NO TIME LIMIT.

 tibemsd will stop compacting whenever it meets any of the following:
 (1) max-time is over (2) compaction complete.

 Notable exception for mstores: when specifying 'nolimit', tibemsd
 will not stop compacting until the mstore has been entirely
 re-written.
----------------------------------------------------------------------
tcp://localhost:7222> compact async 360
WARNING: Once started, it is not possible to interrupt the compaction and all other operations (creating new connections, sending and/or receiving messages, etc.) will be suspended during, at most, 360 seconds.
Are you sure (yes,no)? yes
Compaction complete. Old file size = 1.5 Kb, new file size = 1.5 Kb, 0% size reduction

tcp://localhost:7222> show users
 User Name         Description
 admin             Administrator
 EMS-SERVER        Main Server
 EMS-SERVER2       Route Server
tcp://localhost:7222> show groups Group Name        Users   Description
 $admin                1   Administrators
 all                   0   Predefined group that contains all users


tcp://localhost:7222> add member bextgroup beto
Error: One or more users not found
tcp://localhost:7222> create user
Error: User name not specified
tcp://localhost:7222> create user beto
User 'beto' has been created
tcp://localhost:7222> add member bextgroup betoGroup 'bextgroup' has been modified
tcp://localhost:7222> show users
 User Name         Description
 admin             Administrator
 beto
 EMS-SERVER        Main Server
 EMS-SERVER2       Route Server
tcp://localhost:7222> create user beto "beto laboratorio"
Error: User 'beto' already exists
tcp://localhost:7222> help remove
----------------------------------------------------------------------
 Command:     remove
 Description: remove one or more users from group

 Syntax:      remove member <group-name> <user-name>[,<user-name2>,...]
----------------------------------------------------------------------
tcp://localhost:7222> help delete
----------------------------------------------------------------------
 Command:     delete
 Description: deletes miscellaneous objects

 Syntax:      delete user         <user-name>
              delete group        <group-name>
              delete all          users
              delete all          groups
              delete queue        <queue-name>
              delete all          queues [<pattern>]
              delete topic        <topic-name>
              delete all          topics [<pattern>]
              delete durable      <durable-name> [<client ID>]
              delete all          durables
              delete connection   <connection-id>
              delete route        <route-name>
              delete factory      <factory-name>
              delete jndiname     <jndi-name>
              delete message      <messageID>
              delete rvcmlistener <transport> <name> <subject>
              delete bridge       source=<type>:<name> target=<type>:<name>

 'delete all topics' and 'delete all queues' commands, executed
 without a parameter, delete all topics or queues. Optional parameter
 specifies the name pattern of those topics or queues which have to
 be deleted. Deleting a topic or a queue also removes all direct
 permissions set on that topic or queue.

 The parameter of the 'delete connection' command is the number
 presenting the connection ID. Connection ID is shown in the first
 column of the connection description printed by
 'show connections' command

 Deleting a route removes corresponding configuration information if
 present and deletes the underlying connection created by the route.
 If a route has been initiated from the remote server it may be immediately
 re-established if local configuration does not prevent it.

 Notice that deleting last JNDI name of the connection factory object
 will remove the connection factory object as well.
----------------------------------------------------------------------
tcp://localhost:7222> delete user beto
Are you sure (yes,no)? yes
User 'beto' has been deleted
tcp://localhost:7222> create user beto "beto laboratorio EMS"
User 'beto' has been created
tcp://localhost:7222> show groups
 Group Name        Users   Description
 $admin                1   Administrators
 all                   0   Predefined group that contains all users
 bextgroup             0   TIBCO Bext lab
tcp://localhost:7222> add member bextgroup beto
Group 'bextgroup' has been modified
tcp://localhost:7222> show group bextgroup
 Group:        bextgroup
 Description:  TIBCO Bext lab
 Users:        1

time

tcp://localhost:7222> time
Time mode is OFF. Time=[2019-09-18 17:40:45]
tcp://localhost:7222> timeout
Timeout is 30 seconds
tcp://localhost:7222> timeout 60
Timeout set to 60 seconds
tcp://localhost:7222>




El ejecutable el EMS server en Windows , se ejecuta desde un link con la siguiente configuracion

"C:\Program Files\tibco\bw6\ems\8.4\bin\tibemsd.exe" -config C:\ProgramData\bw6\tibco\cfgmgmt/ems/data/tibemsd.conf

Se inicia en "C:\Program Files\tibco\bw6\ems\8.4"

Creando Channels, esto se hace con archivos de configuracion tibemsd.conf, channel.conf

tcp://localhost:7222> show channels
 Channel    Address               Status

Se hacen modificaciones en archivos

tibemsd.conf
########################################################################
# Multicast. Disabled by default. Enable to broadcast messages to
# consumers over multicast-enabled topics using channels defined in
# 'channels.conf'.
########################################################################

#multicast               = disabled
multicast               = enabled


channels.conf
[testchannel]
   address   = 234.5.6.7:99


Ahora si tenemos el channel

tcp://localhost:7222> show channels
 Channel     Address               Status
 testchannel 234.5.6.7:99          Not active
tcp://localhost:7222> addprop topic testTopic channel=testchannel
Topic 'testTopic' has been modified
tcp://localhost:7222> show topics
                                                               All Msgs            Persistent Msgs
  Topic Name                        SNFGEIBCTM  Subs  Durs     Msgs    Size        Msgs    Size
  >                                 ---------*     0     0        0     0.0 Kb        0     0.0 Kb
  sample                            ----------     0     0        0     0.0 Kb        0     0.0 Kb
  testTopic                         ---------+     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample                      ----------     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.exported             ----+-----     0     0        0     0.0 Kb        0     0.0 Kb
  topic.sample.imported             -----+----     0     0        0     0.0 Kb        0     0.0 Kb

tcp://localhost:7222> show topic testTopic
 Topic:                 testTopic
 Type:                  static
 Properties:            *prefetch=64,*store=$sys.nonfailsafe,channel=testchannel
 JNDI Names:            <none>
 Bridges:               <none>
 Subscriptions:         0
 Durable Subscriptions: 0
 Consumers:             0
 Durable Consumers:     0
 Pending Msgs:          0, (0 persistent)
 Pending Msgs Size:     0.0 Kb, (0.0 Kb persistent)
 Total Inbound Msgs:    0
 Total Inbound Bytes:   0.0 Kb
 Total Outbound Msgs:   0
 Total Outbound Bytes:  0.0 Kb

grant , revoke

tcp://localhost:7222> grant topic testTopic beto subscribe
Permissions have been changed

tcp://localhost:7222> revoke topic testTopic beto subscribe
Permissions have been changed

exclusive

tcp://localhost:7222> addprop queue queue.sample exclusive
Queue 'queue.sample' has been modified
tcp://localhost:7222> show queues queue.sample
                                                              All Msgs            Persistent Msgs
  Queue Name                        SNFGXIBCT  Pre  Rcvrs     Msgs    Size        Msgs    Size
  queue.sample                      ----+----    5*     0        0     0.0 Kb        0     0.0 Kb


tcp://localhost:7222> removeprop queue queue.sample exclusive
Queue 'queue.sample' has been modified

eot

No hay comentarios:

Publicar un comentario