The stomp-queue package
The Stomp Protocol specifies message-oriented interoperability. Applications connect to a message broker to send (publish) or receive (subscribe) messages through queues. Interoperating applications do not know the location or internal structure of each other. They see only each other's interfaces, i.e. the messages published and subscribed through the broker.
The Stomp Queue library provides a Stomp client, using abstractions like Connection, Transaction, Queue and Message. This basic abstractions are implemented in the module Queue. The Patterns module adds an abstraction layer on top of queues, in particular an implementation of the client-server pattern.
- Major changes:
Compliance with Stomp 1.2:
There are major changes in the frame format, please refer to the documentation of the stompl package, version 0.1.0, there are important changes that may impact messages for older versions!
When generating an Ack frame, the id header is by default taken from the ack header in the corresponding Message frame. Should there be no ack header or if its value is empty, the value of the header message-id is taken. This behaviour complies with 1.2 for brokers supporting this version, but also continues to work with 1.1 brokers.
It is now possible to send a Stomp frame to connect to a broker (the broker, of course, has to accept Stomp frames and process them correctly). There is a new Copt (OStomp) to support this feature.
- Client/Server on top of Queues.
- Fighting with hackagedb...
- Heartbeats caused a memory leak by creating many Connection instances in the connection state list. The connections were lazily deleted, i.e. were not deleted at all. Connection state is now cleaned up by a strict delete.
- Major changes:
Underscore functions (withConnection_) removed;
New with* functions: withWriter, withPair;
New option for connection (ClientId);
Headers for broker-specific options can be passed to connection (this changes the withConnection type signature!)
- New interface writeAdHoc
- Minor corrections
- Initial release
|Versions||0.0.1, 0.0.2, 0.0.3, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.2.0, 0.2.1, 0.2.2|
|Dependencies||attoparsec (>=0.9.1.1), base (>=4.0 && <=5.0), bytestring (==0.9.*), mime (>=0.3.3), network (>=18.104.22.168), split (>=0.1.4.1), stompl (>=0.1.0), time (>=1.1.4), utf8-string (>=0.3.6) [details]|
|Copyright||Copyright (c) Tobias Schoofs, 2011 - 2013|
|Maintainer||tobias dot schoofs at gmx dot net|
|Category||Network, Message-oriented Middleware, Stomp, Client|
|Uploaded||Mon Nov 11 22:22:17 UTC 2013 by TobiasSchoofs|
|Downloads||2857 total (30 in the last 30 days)|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees