qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lundin <...@eintr.org>
Subject Re: Creating an exchange in the API
Date Sun, 15 Aug 2010 21:19:41 GMT
Just tested using trunk, and everything works as I expected.

    px = sess.sender("myfanout; {create: always, node: {type: topic,
x-declare: {exchange: myfanout, type: fanout}}}")
    px.send("")

Worked like a charm. Awesome.
The new API is excellent, btw. :)

/d

On Sun, Aug 15, 2010 at 8:26 PM, Daniel Lundin <dln@eintr.org> wrote:
> Is it possible to, in the new messaging API, [auto-]declare a fanout
> exchange using the address when creating a Sender?

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message