XmlBlaster Logo

REQUIREMENT

client.cpp.omniorb

XmlBlaster Logo


Type NEW
Priority LOW
Status CLOSED
Topic C++ clients can access xmlBlaster with the omniORB Corba library
Des
cription

There is support for omniORB to access xmlBlaster from CORBA clients.

Support was developed against omniORB 4.0.7, other omniORB versions should work as well. Make sure to follow the omniORB installation instructions.

omniORB is multi threaded so operations like doing a subscribe() in an update() is supported.

The IOR is accessed by the xmlBlaster client library using an internal http download http://localhost:3412/AuthenticationService.ior .

Configure

To compile you can use the xmlBlaster/build.xml file.

Please take a copy from xmlBlaster/build.properties into your home directory (it has precedence there) and adjust the path settings to find CORBA and the XML parser. Example:

#------------------------------------------------------------------------------
# C++ Unix/Linux example with omniORB
COMPILE_CORBA_PLUGIN  = 1
CORBACPP_HOME = /opt/omniORB-4.1.0-rc1-bin
CORBACPP_VER  = 
corba.product = OMNIORB
#------------------------------------------------------------------------------
      

Compile it with ant:

cd xmlBlaster
build cpp

This creates:
   xmlBlaster/lib/libmlBlasterClient.so
and some test clients in
   xmlBlaster/demo/c++/bin
   xmlBlaster/testsuite/src/c++/bin
      

On Windows you should add all directories containing dll libraries to your path setting.

On Solaris and Linux the shared library path is burned into the executable so you need to set LD_LIBRARY_PATH only when you move libraries to other locations (try ldd TestGet).

Property Default / Example Description Implemented

NOTE: Configuration parameters are specified on command line (-someValue 17) or in the xmlBlaster.properties file (someValue=17). See requirement "util.property" for details.
Columns named Impl tells you if the feature is implemented.
Columns named Hot tells you if the configuration is changeable in hot operation.

Todo

Known bugs

On shutdown there seems to be a bug which is not yet located.

Testsuite is missing.

See http://omniorb.sourceforge.net/
See http://www.xmlblaster.org/xmlBlaster/doc/doxygen/c++/namespaces.html
See REQ client.cpp
See REQ client.cpp.compile

This page is generated from the requirement XML file xmlBlaster/doc/requirements/client.cpp.omniorb.xml

Back to overview