cdmbase / graphql-rabbitmq-subscriptions

A graphql subscriptions implementation using rabbimq and apollo's graphql-subscriptions
MIT License
118 stars 27 forks source link

Unable to pass the socket options to rabbitmq connections #13

Closed ganeshpms closed 4 years ago

ganeshpms commented 6 years ago

The pubsub works fine with simple URL host, port or connection string. I want to connect to the rabbitmq using amqps, for that, I need to pass the 'socket options' which will be used by amqb lib connect method. I couldn't find the way in the current implementation. Could you please help on that?

the-noob commented 6 years ago

If your config has host and port it will be treated as a config string. If you pass hostname instead of host in config it should work.