24.12.11

ActiveMQ–Wire Protocols

Wire protocol - Wikipedia, the free encyclopedia

In computer networking, a wire protocol refers to a way of getting data from point to point: A wire protocol is needed if more than one application has to interoperate.[1] In contrast to transport protocols at the transport level (like TCP or UDP), the term 'wire protocol' is used to describe a common way to represent information at the application level. It refers only to a common application layer protocol and not to a common object semantic of the applications. Such a representation at application level needs a common infoset (XML) and a data binding (using e.g. a common encoding scheme like XSD).

Examples of wire protocols are

OpenWire (binary protocol) - Wikipedia, the free encyclopedia

OpenWire is a binary protocol designed for working with Message Oriented Middleware. It is the native wire format of ActiveMQ.

Apache ActiveMQ ™ -- OpenWire

OpenWire is our cross language Wire Protocol to allow native access to ActiveMQ from a number of different languages and platforms. The Java OpenWire transport is the default transport in ActiveMQ 4.x or later. For other languages see the following...

OpenWire works by code generating language specific commands and marshaling code which understands the core OpenWire protocol. Then we can write language specific extensions for the low level protocol to provide a nice and easy to use client API in different languages.

OpenWire Version 2 Specification

ActiveMQ in Action:

  • The OpenWire protocol isn’t specific to the TCP network transport and can be used with other network protocols.
  • Its main purpose is to be efficient and allow fast exchange of messages over the network.
  • This topic and a description of other wire level protocols available for ActiveMQ are covered in chapter 9.

I am interested in this Wire Protocol now, because two years ago a designed a similar thing in my system. I should have read something like this so that I can work out the system easier.

No comments: