{"action":"created","issue":{"url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/203","repository_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10","labels_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/203/comments","events_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/203/events","html_url":"https://github.com/noodlefrenzy/node-amqp10/issues/203","id":131379440,"number":203,"title":"How to Handle connection to jms queue deployed on Wildfly?","user":{"login":"Parsiphal","id":5341610,"avatar_url":"https://avatars.githubusercontent.com/u/5341610?v=3","gravatar_id":"","url":"https://api.github.com/users/Parsiphal","html_url":"https://github.com/Parsiphal","followers_url":"https://api.github.com/users/Parsiphal/followers","following_url":"https://api.github.com/users/Parsiphal/following{/other_user}","gists_url":"https://api.github.com/users/Parsiphal/gists{/gist_id}","starred_url":"https://api.github.com/users/Parsiphal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parsiphal/subscriptions","organizations_url":"https://api.github.com/users/Parsiphal/orgs","repos_url":"https://api.github.com/users/Parsiphal/repos","events_url":"https://api.github.com/users/Parsiphal/events{/privacy}","received_events_url":"https://api.github.com/users/Parsiphal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-04T15:17:46Z","updated_at":"2016-02-04T15:37:09Z","closed_at":null,"body":"I want to use node-amqp10 in order to create a receiver/sender to a queue/topic deployed on Wildfly. I have enabled, inside the standalone-full.xml of wildfly, the AMQP protocol by this way\r\n```\r\n<acceptor name=\"amqp-acceptor\">\r\n     <factory-class>org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class>\r\n     <param key=\"protocol\" value=\"AMQP\"/>\r\n     <param key=\"port\" value=\"5672\"/>\r\n</acceptor>\r\n```\r\nand for simplicity i have disabled security about the messaging configuration.\r\n\r\nMy queue is configured by this way:\r\n```\r\n<jms-queue name=\"DLQ\">\r\n    <entry name=\"java:jboss/exported/jms/queue/DLQ\" />\r\n    <entry name=\"java:/jms/queue/DLQ\"/>\r\n</jms-queue>\r\n```\r\n\r\nThen i have create a really simple poc using amqp:\r\n```\r\nvar AMQP10Client = require('amqp10').Client;\r\nvar client = new AMQP10Client();\r\nclient.connect(\"amqp://localhost\")\r\n .then(function () {\r\n   return Promise.all([\r\n     client.createReceiver('DLQ'),\r\n     client.createSender('DLQ')\r\n   ]);\r\n })\r\n .spread(function(receiver, sender) {\r\n  console.log(\"Ended creation of Consumer/Producer\");\r\n })\r\n .error(function (e) {\r\n   console.log('connection error: ', e);\r\n });\r\n```\r\n\r\nThe problem is that connection works fine but when i try to create the Receiver and Sender to the queue named DLQ the code does not enter inside the spread a no receiver/sender are created.\r\n\r\nSomebody can help me? Thanks."},"comment":{"url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/comments/179904106","html_url":"https://github.com/noodlefrenzy/node-amqp10/issues/203#issuecomment-179904106","issue_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/203","id":179904106,"user":{"login":"mbroadst","id":312966,"avatar_url":"https://avatars.githubusercontent.com/u/312966?v=3","gravatar_id":"","url":"https://api.github.com/users/mbroadst","html_url":"https://github.com/mbroadst","followers_url":"https://api.github.com/users/mbroadst/followers","following_url":"https://api.github.com/users/mbroadst/following{/other_user}","gists_url":"https://api.github.com/users/mbroadst/gists{/gist_id}","starred_url":"https://api.github.com/users/mbroadst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbroadst/subscriptions","organizations_url":"https://api.github.com/users/mbroadst/orgs","repos_url":"https://api.github.com/users/mbroadst/repos","events_url":"https://api.github.com/users/mbroadst/events{/privacy}","received_events_url":"https://api.github.com/users/mbroadst/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T15:37:09Z","updated_at":"2016-02-04T15:37:09Z","body":"@Parsiphal can you post what the error returned is? I believe this is because JMS has a slightly ~~insane~~ different strategy for endpoints (usually something like `tcp://queue/queueName` or something)"}}