REQUIREMENT protocol.stomp |
Type | NEW |
Priority | HIGH |
Status | CLOSED |
Topic | XmlBlaster supports the bidirectional STOMP communication protocol | ||||||||||||||||||||
Des cription |
RPC (remote procedure call) based frameworks like CORBA (if not BiDirectional GIOP), RMI and XmlRpc (if not tunneled) require the client to set up a callback server for asynchronous callbacks. This causes problems if the client is behind a firewall or if the client may not establish a listen socket. This protocol supports tunneling back messages and supports many programming languages on the client side. Protocol specificationPlease consult http://stomp.codehaus.org/ for more details. Limitations
Currently only basic operation is implemented on server side,
please check the code in Details
The stomp message expects the header entries |
||||||||||||||||||||
Configure |
Server side configurationThe driver is activated in xmlBlasterPlugins.xml: <!-- ProtocolPlugin[STOMP][1.0] for iPad and iPhone and other programming languages --> <plugin create='true' id='STOMP' className='org.xmlBlaster.protocol.stomp.XbStompDriver'> <action do='LOAD' onStartupRunlevel='4' sequence='35' onFail='resource.configuration.pluginFailed'/> <action do='STOP' onShutdownRunlevel='3' sequence='35'/> <attribute id='port'>61613</attribute> </plugin> Note: If you configure a property in xmlBlasterPlugins.xml the scope is
already inside the specific plugin and you need to leave away the prefix plugin/stomp and
for example directly write responseTimeout.
NOTE: Configuration parameters are specified on command line (-someValue 17) or in the
xmlBlaster.properties file (someValue=17). See requirement "util.property" for details. |
||||||||||||||||||||
Todo |
|
||||||||||||||||||||
See REQ | protocol | ||||||||||||||||||||
See API | org.xmlBlaster.protocol.stomp.XbStompDriver | ||||||||||||||||||||
See API | org.xmlBlaster.protocol.stomp.XbStompInOutBridge | ||||||||||||||||||||
See API | org.xmlBlaster.protocol.stomp.SocketUrl | ||||||||||||||||||||
See | http://www.xmlBlaster.org/xmlBlaster/src/java/org/xmlBlaster/protocol/stomp/XbStompInOutBridge.java.html | ||||||||||||||||||||
See | Stomp homepage | ||||||||||||||||||||
See | xmlBlasterPlugins.xml |
This page is generated from the requirement XML file xmlBlaster/doc/requirements/protocol.stomp.xml