R messaging using ActiveMQ and jms