Commits

Show all
Author Commit Message Labels Comments Date
bar...@macbook.home
Bump the version number in setup.py, oops.
Tags
0.2
bar...@macbook.home
Add a test utility to simulate an AMQP server that redirects connections to another AMQP server. Made one small change to the client_0_8 module to make redirecting work cleanly. The test_client_0_8 module passes when pointed at this fake AMQP server that redirects to a real server. Bumped the library_version because of the change to exchange_declare and queue_declare making the auto_delete parameter default to True.
bar...@macbook.home
Change the exchange_declare and queue_declare auto_delete parameters to default to True. I found that declaring a queue and binding it to an active exchange, and forgetting to delete it is a good way to get RabbitMQ to start consuming huge amounts of memory. If you've created a queue with an automatically assigned name and didn't see what it was, you have to dig into erlang to find out what it was before you can remove it. exchange_declare isn't as big a problem, but that's been changed too for consistency. This new defaults should be safer for casual experimentation - if a user wants to keep a queue or exchange around, they should explicitly say so.
bar...@macbook.home
Add code for dealing with a redirection when connecting to a server. Need to find a way to actually test it, but at least it doesn't interfere with a normal non-redirected connection.
bar...@macbook.home
Make the ability to insist on connecting to a particular host (signalling that you don't want to be redirected) available when creating the Connection object. (Support for being redirected isn't in yet)
bar...@octane.med.und.nodak.edu
Update comments on demo_send to match what it really does.
bar...@macbook.home
Added tag 0.1 for changeset b005bd4445ca
bar...@macbook.home
Slightly tweak the package URL to what it really is.
Tags
0.1
bar...@macbook.home
Add another demo program, one that spits out messages at regular intervals.
bar...@macbook.home
Have the client attempt to decode message bodies to unicode strings if possible - but each channel has an 'auto_decode' attribute that can be set to False to disable this behavior. Add a bunch of unittests to check encoding/decoding of message bodies.
bar...@macbook.home
Found that connection exceptions weren't actually being raised as Python exceptions. Put a hack in to make this work, but the whole area of processing incoming frames is a bit whacked and should be rethought.
bar...@macbook.home
Make the default body of a Message an empty string instead of None, because AMQP doesn't distinguish between a zero-length body and something else like None.
bar...@macbook.home
Add a bunch of docstrings to the util module.
bar...@macbook.home
Cleanup formatting, getting rid of long lines where convenient.
bar...@macbook.home
Don't need to include the AMQP spec file in the repository - remove it and add a README saying where to get it and how to use it.
bar...@macbook.home
Rename the 'received_properties' attribute in received messages to 'delivery_info', which seems like a better name. When comparing messages, don't consider 'delivery_info', since it's almost always going to be different. If an app cares, it can compare those itself.
bar...@macbook.home
Update the docs to match recent changes.
bar...@macbook.home
Reworked the Message class some more, taking a step back and putting the properties into a dictionary and storing that dictionary as an attribute named 'properties', and 'received_properties' for received messages. Put in a __getattr__ method to make those properties also accessible directly.
bar...@macbook.home
Add a way to discover what extra attributes have been added to received messages.
bar...@macbook.home
Jazz up the demo_receive program to show how to iterate over just the AMQP basic-content message properties.
bar...@macbook.home
Untangled the code around handling Message objects, the visible API is still the same.
bar...@macbook.home
Reworked the Message class to be easier to use, doing away with the 'properties' dictionary attribute, and placing the properties right into the object as attributes. The internals of that class are clumsy, but the external use of it is cleaner. Will clean up the internals but am committing it at this point because it works OK.
bar...@macbook.home
Add unittests for sending and getting messages. Restore raising of exceptions when the server closes a channel or connection.
bar...@macbook.home
Start on unittests for the client itself.
bar...@macbook.home
Use time/datetime functions in a better way I hope. The whole issue of timezones is a PITA.
bar...@macbook.home
Unittest was broken, found something else to test which turned out to be broken, and fixed that.
bar...@macbook.home
More and more docs.
bar...@macbook.home
Fix broken demo.
bar...@macbook.home
Add more documentation, simplify the demo code.
bar...@macbook.home
Add a few more common files
  1. Prev
  2. Next