Using RabbitMQ with Apache Thrift to interchange data between Java and Perl