On 05/17/2013 02:40 PM, Christian Fromme wrote:
On Fri, May 17, 2013 at 2:37 PM, Gordon Sim <[email protected]> wrote:

The full ist of properties for a bridge are "src", "dest", "key", "tag",
"excludes", "srcIsQueue", "srcIsLocal", "dynamic", "sync" and
"credit"

When adding links or bridges, is it possible to check beforehand
whether or not they already exist?
Currently I get: "{error_code:7, error_text:object already exists: mylink-1}"

You can get send a request for a list of all links or bridges (I can cook up an example of that if needed). Of course its possible that one gets added after you've requested the list and before you create a new one. So in some ways I think just handling the 'already exists' case may be something you want to do anyway. Unless you go with using UUIDs for names or something.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to