[rabbitmq-discuss] Unbind patch

Ben Hood 0x6e6562 at gmail.com
Fri Aug 1 13:06:11 BST 2008


Aman,

Here is patch to allow the queue unbind command in the current Rabbit
source tree:

http://www.bitbucket.org/0x6e6562/unbind-patch/changeset/65d57a7d9a28

I put it into bitbucket so that

a) it doesn't exist as confusing branch in our tree,
b) also it's quick and dirty and is not factored out properly, but
there is a test case :-)
c) I can see if we can work in github style fashion but with hg

To get it rock and roll, in the same parent directory,

1. hg clone https://www.bitbucket.org/0x6e6562/codegen-unbind-patch/
2. hg clone https://www.bitbucket.org/0x6e6562/unbind-patch/
3. cd unbind-patch
4. make SIBLING_CODEGEN_DIR=../codegen-unbind-patch/
5. Boot Rabbit: erl -pa ebin -mnesia dir foobar -boot start_sasl -s rabbit
6. Run test:

$ erl -pa ebin/ PATH_TO_RABBIT_ERLANG_CLIENT/ebin/
Erlang (BEAM) emulator version 5.6.3 [source] [smp:2]
[async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.6.3  (abort with ^G)
1> unbind_test:test().
ok

Done.

HTH,

Ben




More information about the rabbitmq-discuss mailing list