Messenger API - what am I missing?

2013-01-15 Thread Simon MacMullen
Hi. I'm interested in testing Proton against the RabbitMQ AMQP 1.0 adapter. But I'm struggling with the APIs I need to use to write even a simple program. I'm using the Java version but from what I can see the C version has the same APIs. If I try to use the Messenger API then I don't see

Re: Messenger API - what am I missing?

2013-01-15 Thread Rafael Schloming
On Tue, Jan 15, 2013 at 9:33 AM, Simon MacMullen si...@rabbitmq.com wrote: Hi. I'm interested in testing Proton against the RabbitMQ AMQP 1.0 adapter. But I'm struggling with the APIs I need to use to write even a simple program. I'm using the Java version but from what I can see the C

Re: Messenger API - what am I missing?

2013-01-15 Thread Simon MacMullen
On 15/01/13 15:29, Rafael Schloming wrote: I'm guessing you need to set an address on the message. Messenger doesn't expose direct control over connections or links. It will figure out what connections/links to establish based on what address you specify on the message (kind of like SMTP). You

Re: Messenger API - what am I missing?

2013-01-15 Thread Simon MacMullen
Yes, the Python version works as I would expect, modulo: * It strips the leading / from the target address * On my machine, localhost resolves to ::1, and Proton appears not to support IPv6. But both of those can be worked around. Thank you! Cheers, Simon On 15/01/13 16:11, Rafael Schloming