github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

0x6e6562 / as3-amqp

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 32
    • 5
  • Source
  • Commits
  • Network (5)
  • Issues (2)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

This is an implementation of the 0-8 version of AMQP for AS3. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

updated README 
peterarmstrong (author)
Thu Oct 29 22:27:51 -0700 2009
0x6e6562 (committer)
Fri Oct 30 01:18:34 -0700 2009
commit  471eb555efb7b3eb15c695616e19b322344c158d
tree    c9b445db77dcf27279cd49187f5ff210f8431f30
parent  4866f909c2bea54db4bfffdf3612a2e56ca93713
as3-amqp /
name age
history
message
file .gitignore Tue Aug 26 11:18:11 -0700 2008 Reworked SubscribeClientImpl so it creates a co... [pkieltyka]
file .hgignore Sun May 25 15:52:04 -0700 2008 Added TLS using AS3 Crypto [0x6e6562]
file .hgtags Mon May 26 07:03:32 -0700 2008 Added tag 0.1.3 for changeset 299ea18af0cf [0x6e6562]
file AS3CRYPTO-LICENSE.txt Sun May 25 15:52:04 -0700 2008 Added TLS using AS3 Crypto [0x6e6562]
file CREDITS Tue Oct 20 16:02:32 -0700 2009 Updated credits [0x6e6562]
file LICENSE.txt Sun May 25 15:52:04 -0700 2008 Added TLS using AS3 Crypto [0x6e6562]
file README Fri Oct 30 01:18:34 -0700 2009 updated README [peterarmstrong]
file as3-crypto.patch Sun May 25 15:52:04 -0700 2008 Added TLS using AS3 Crypto [0x6e6562]
file build.properties Fri Aug 22 06:43:48 -0700 2008 Merged updates from the base library project [pkieltyka]
file build.xml Thu Oct 02 13:44:03 -0700 2008 Refactored RPC queueing [0x6e6562]
directory codegen/ Mon Oct 06 10:17:46 -0700 2008 Extended amqp0-8 spec to include Unbind/Unbind-... [pkieltyka]
directory lib/ Tue Sep 02 16:31:41 -0700 2008 Removed flexunit lib [0x6e6562]
directory src/ Tue Oct 20 15:57:35 -0700 2009 Fixed tabs [0x6e6562]
file stunnel.conf Sun May 25 15:52:04 -0700 2008 Added TLS using AS3 Crypto [0x6e6562]
directory test/ Sat Nov 15 09:07:57 -0800 2008 Removed all lot of dead comments [0x6e6562]
README
AS3-AMQP Library
==========================================================================


This library provides a high level and a low level AMQP interface for AS3.

Note that you cannot just compile this library using Flash Builder! You need to use the provided
Apache Ant build script to generate classes first.

If you're new to Ant, here's how you do this:

1. Download and install Apache Ant. (These instructions are being written using Ant version 1.7.1.)

2. Ensure that the ANT_HOME/bin directory is on your PATH.

3. Edit the build.properties file to specify the Flex SDK directory to use.

4. Run the build script by typing ant in the main directory of this project. You will see messages like this:

$ ant
Buildfile: build.xml

properties:

codegen:
    [mkdir] Created dir: /some_directory_name/as3-amqp/build
     [copy] Copying 4 files to /some_directory_name/as3-amqp/build
    [javac] Compiling 5 source files to /some_directory_name/as3-amqp/build

lib:
     [java] Loading configuration file /Applications/Adobe Flash Builder Beta 2/sdks/3.4.1/frameworks/flex-config.xml
     [java] /some_directory_name/as3-amqp/bin/amqp.swc (291129 bytes)

BUILD SUCCESSFUL
Total time: 8 seconds

5. With this completed, you can use the project by either using the .swc file or by building the generated code in Flash 
Builder if you prefer.


High Level Interfaces:
----------------------
org.amqp.patterns.PublishClient
org.amqp.patterns.SubscribeClient
org.amqp.patterns.RpcClient
org.amqp.patterns.RpcServer

TODO / Further exploration:
---------------------------

- The shutdown handling is probably not inline with the protocol.
  (Look into the LifecycleTest to see how the connection is being closed)

- Optimize the file size of overall library to decrease its 304kb
weight down to something reasonable. For one, I noticed the core
library depends on flexunit.swc, which weighs in at 400kb itself.
Perhaps looking at removing that dependency will cut some fat, in
particular the ArrayList class is used and should be substituted with
something already available.
|--> Update: the dependency is now removed - the build script just needs modification

- Remove the dependency on ericfeminella's HashMap

- Make the TLS bundling optional

- Add the Flexunit Test Suite to the build.xml so that it can be run from
the command line

- Consider ignoring all messages that are sent from the same application

to a subscribed topic (BasicProperties, userid argument might work)

- Remove binding for a specific routing key when unsubscribing

- Wildcard topics still require some testing

Known Issues:
-------------

- The code generator should produce logging code that can dump the contents of each method
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server