Saturday, November 26, 2011

Spring and rabbit MQ

A few days ago I post about Rabbit amqp and Spring rabbit. Basically what we have to build is an RPC like system
  • with (sometimes) intermediary message for long running services (graphics controls)
  • with data control callable on server side or client side (or both)
  • with initial configuration and so on...

As I regulary use Spring Framework I try to use it with Rabbit AMQP. I try hard but it was very difficult to make RPC like, working well without explore spring code to see how it works.... there is too few docs...).
At the end I decide to remove Spring-rabbit and keep for rabbit, IOC only without Spring abstraction. ( this work well in a couple of hours...)

It is a proof of concept, so it is not a big problem to lose this abstraction level.
In a few month I will check Spring AMQP abstraction and I'm sure this part will evolves a lot. 

Tuesday, November 15, 2011

eclipse, ubuntu and icon menu

I don't have my sweet menu in eclipse.... As I could see, I'm not alone and there's a lot of people having the same problem like me. But to solve my problem I had to apply two tips :
  • enable menu on ubuntu
gconftool-2 --type Boolean --set /desktop/gnome/interface/menus_have_icons True
see here
You could also use : gconf-editor and check desktop->gnome-interface: menus_have_icons (see here)
  • Start eclipse with a script using UBUNTU_MENUPROXY:
#!/bin/bash
export UBUNTU_MENUPROXY=0
./eclipse -vm /home/theroude/devel/exploit/Java/jdk1.6.0_13/bin 
Hope this help