We have been trying for days to get a simple ruby application to work with the Azure service bus. Below is the code we are using. Has anybody gotten this to work? We have tried every variation on the namespace and access keys.. Help!!
require "azure"
Azure.config.sb_namespace = "XXXXX.servicebus.windows.net"
Azure.config.sb_access_key = "??????????????????????????????????"
a = Azure::ServiceBus::ServiceBusService.new
begin
queue = a.create_queue("test-queue")
rescue
puts $!
end
The error returned is "getaddrinfo: No such host is known. "