Sunday, 19 July 2009

Documents, Config and Minor Changes

After spending the last month or so of find a job and moving into a new flat in London I am back working on the messaging integration for Mono. I've mostly been working on some small clean ups and adding support for configuring the provider using System.Configuration for clients that are using a .NET 2.0 profile or later. To set the messaging provider using System.Configuration, create your config file 'yourapp.exe.config' and include the following:

<?xml version="1.0" encoding="utf-8" ?>
<add key="MONO_MESSAGING_PROVIDER" value="rabbitmq"/>

I have also allows the shortened value 'rabbitmq' as an acceptable value when using the environment variable.

The System.Messaging docs on the Mono wiki have also been brought up to date, however in the process of creating some sample code, I realised that the current release ( has a bug where the Mono.Messaging.RabbitMQ dll is not correctly resolved from the GAC meaning that anyone wanting to use the messaging libraries will need to add the mono libraries to their MONO_PATH environement variable e.g. MONO_PATH=/usr/lib/mono/2.0. This is fixed in trunk though.