Re: [racket-users] RCP over racket-stomp

2015-08-07 Thread Jukka Tuominen
On 08/07/2015 12:43 PM, Jukka Tuominen wrote: Disconnected before receipt R14642 was received What shows up in the RabbitMQ logs around the time that the disconnection happens? Often a bunch of detail is logged that is not passed on to the connected client. Tony I found this: =INFO

Re: [racket-users] RCP over racket-stomp

2015-08-07 Thread Jukka Tuominen
For testing purposes, I changed the permissions to ^.* .* '* which got rid of the error messages. However, there is still no reply eventhough the message is received by the target computer. Hmmm, in this case both SUB and PUB are device7 should it matter. br, jukka On 08/07/2015 03:19 PM,

Re: [racket-users] RCP over racket-stomp

2015-08-07 Thread Jukka Tuominen
Tony, having experimented with your code to catch `exn:stomp` exception, this is what I got first: Disconnected before receipt R14642 was received There are two sends in the code, and it is actually the second call that causes the error. With a single send, no error is signalled but nothing is

Re: [racket-users] RCP over racket-stomp

2015-08-07 Thread Tony Garnock-Jones
On 08/07/2015 03:19 PM, Jukka Tuominen wrote: =ERROR REPORT 7-Aug-2015::22:00:25 === Channel error on connection 0.5764.4 ([client-ip]:59326 - [server-ip]:61613, vhost: '/', user: 'device7'), channel 1: {amqp_error,access_refused, access to queue

Re: [racket-users] RCP over racket-stomp

2015-08-06 Thread Jukka Tuominen
I have installed a RabbitMQ server for Liitin project (http://liitin.org) to develop and test various messaging possibilities between users and various devices and services (Internet of Things). So far I have a very small toy program to publish and subscribe to dummy notifications. Now I'd like

Re: [racket-users] RCP over racket-stomp

2015-08-06 Thread Tony Garnock-Jones
On 08/06/2015 02:03 PM, Jukka Tuominen wrote: From a generic STOMP documentation I’ve understood that I should send a ”reply-to” header item with a temporary queue value, but I’m not sure about the format I should use in racket-stomp. I tried... #:headers `((receipt ,receipt)(persistent