tree: 0fd861ab223a70d8dfa358eeeaff8d43becccf89 [path history] [tgz]
  2. Thrift.Transport.STOMP.pas

Sample code for STOMP-based Thrift clients and/or servers.

Although the sample Thrift STOMP Transport is written in Delphi/Pascal, it can easily serve as a starting point for similar implementations in other languages.

STOMP is a protocol widely supported by many messaging systems, such as Apache ActiveMQ, RabbitMQ and many others. In particular, it can be used to communicate with Service-Bus products like Rebus or NServiceBus, when running against a STOMP-capable MQ system.

A prerequisite for this sample is the Delphi STOMP Adapter written by Daniele Teti (, currently hosted at Google Code (

At the time of writing, the STOMP adapter does not fully support binary data. Please check whether this has been fixed, otherwise you have to use the JSON protocol (or to fix it on your own).