{"comment":{"url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/comments/14072286","html_url":"https://github.com/noodlefrenzy/node-amqp10/commit/c50f49753781681526210f56e90af46b4f44abb3#commitcomment-14072286","id":14072286,"user":{"login":"playachronix","id":5004175,"avatar_url":"https://avatars.githubusercontent.com/u/5004175?v=3","gravatar_id":"","url":"https://api.github.com/users/playachronix","html_url":"https://github.com/playachronix","followers_url":"https://api.github.com/users/playachronix/followers","following_url":"https://api.github.com/users/playachronix/following{/other_user}","gists_url":"https://api.github.com/users/playachronix/gists{/gist_id}","starred_url":"https://api.github.com/users/playachronix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/playachronix/subscriptions","organizations_url":"https://api.github.com/users/playachronix/orgs","repos_url":"https://api.github.com/users/playachronix/repos","events_url":"https://api.github.com/users/playachronix/events{/privacy}","received_events_url":"https://api.github.com/users/playachronix/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"c50f49753781681526210f56e90af46b4f44abb3","created_at":"2015-10-29T16:37:27Z","updated_at":"2015-10-29T16:37:27Z","body":"@mbroadst On latest, I can createReceiver('topic://topicname') and it works as intended. (still need the defaultSubjects:false part though). \r\n\r\nHere is the basics.  I'm using when promise library but it works well with this other one.\r\n\r\n```javascript\r\nvar policy = AMQP.Policy.merge({\r\n\tdefaultSubjects:false,\r\n\tconnect: {\r\n\t\toptions: {\r\n\t\t\tsslOptions: {\r\n\t\t\t\tkeyFile: './certs/client-key.pem',\r\n\t\t\t\tcertFile: './certs/client-crt.pem',\r\n\t\t\t\tcaFile: './certs/broker.pem',\r\n\t\t\t\trejectUnauthorized:false\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\nvar client = new AMQP.Client(policy);\r\nclient.connect('amqps://user:password@<ipaddress>:5671')\r\n\t.then(function() {\r\n\t\tconsole.log('Connected');\r\n\t\treturn client.createReceiver('topic://mytopic');\r\n\t})\r\n\t.then(function(receiver) {\r\n\t\tconsole.log('Receiver created');\r\n\t\treceiver.on('errorReceived', function(err) {\r\n\t\t\tconsole.log(\"errorReceived: \", err);\r\n\t\t});\r\n\t\treceiver.on('message', function(message) {\r\n\t\t\tconsole.log(\"Message Received: \", message);\r\n\t\t});\r\n\t})\r\n\t.catch(function(err) {\r\n\t\tconsole.log(\"error: \", err);\r\n\t})\r\n\t.done();\r\n```"}}