Project

tibems

0.0
No commit activity in last 3 years
No release in over 3 years
TibEMS bindings for Ruby. Ruby interface for the tibjmsadmin.jar library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.3, >= 3.3.8

Runtime

 Project Readme

TibEMS

Is a Ruby interface to the TIBCO EMS (tm) C library

urls

Description

  • FIX (describe your package)

Features/Problems

  • Only TibEMSAdmin module implemented: get_info: get information and stats from server, topics and queue

Synopsis

  • FIX (code sample of usage)

Requirements

  • If you install the java version, you need the tibco jars (see lib directory on your tibco ems installation)
  • If you install the C version, you need the TIBCO EMS C development library

Install

$ mvn install:install-file -Dfile=[path-to-tibjms.jar-file] -DgroupId=com.tibco -DartifactId=tibjms -Dversion=[tibco_version] -Dpackaging=jar $ mvn install:install-file -Dfile=[path-to-tibjmsadmin.jar-file] -DgroupId=com.tibco -DartifactId=tibjms-admin -Dversion=[tibco-version] -Dpackaging=jar

  • If you install the C version, then you must add the parameter to define the tibco ems directory

$ gem install <gem-file> -- --with-tibems-dir=<tibco-ems-dev-dir>

Developers

After checking out the source, run:

  • If you install the C version, then you must add the parameter to define the tibco ems directory

$ rake compile -- --with-tibems-dir=<tibco-ems-dev-dir>

  • If you install de java version, don't forget add the tibco jars.

$ jruby -S rake package --

$ jruby -S gem install -l pkg/tibems-0.0.7-java.gem

Then, you can check with irb or jirb:

$ irb -I./lib -I./vendor/ -r tibems

2.3.0 :001 > admin = TibEMS::Admin.new(:url => "tcp://localhost:7222", :user => "admin", :pass => "password")

TibEMS::Error: 2016-06-09 20:22:42: Server not connected

    from ./lib/tibems/admin.rb:36:in create

    from ./lib/tibems/admin.rb:36:in initialize

    from (irb):1:in new

    from (irb):1

    from ~/.rvm/rubies/ruby-2.3.0/bin/irb:11:in '<main%gt;'

2.3.0 :002 > quit

License

(GNU GENERAL PUBLIC LICENSE) Show LICENSE file