hi, I am trying to rabbmitmq-c to send message to the message queue server.
URL: "amqp://svxvaiup:e-fEFcGJZgm2vKk1D7OykIf2GHTBI16z@eagle.rmq.cloudamqp.com/svxvaiup"
I used amqp_connect_timeout.exe to test the connection. But it could not open TCP socket.
Actually my Python script could successfully establish TCP connection.
The Python script did not need port and exchange was empty (I do not know why it does not need them).
########################################################
"""Create AMQP Client"""
import json
import pika
class CloudAMQPClient:
"""AMQP client generator"""
amqp_connect_timeout.c expectes 2 command-line parameters: host and port. You've supplied an AMQP URL. The amqp_connect_timeout example would need to be modified for your needs.
hi, I am trying to rabbmitmq-c to send message to the message queue server. URL: "amqp://svxvaiup:e-fEFcGJZgm2vKk1D7OykIf2GHTBI16z@eagle.rmq.cloudamqp.com/svxvaiup" I used amqp_connect_timeout.exe to test the connection. But it could not open TCP socket.
amqp_connect_timeout.exe "amqp://svxvaiup:e-fEFcGJZgm2vKk1D7OykIf2GHTBI16z@eagle.rmq.cloudamqp.com/svxvaiup" 5672 5 opening TCP socket: hostname lookup failed
Actually my Python script could successfully establish TCP connection. The Python script did not need port and exchange was empty (I do not know why it does not need them). ######################################################## """Create AMQP Client""" import json import pika class CloudAMQPClient: """AMQP client generator"""
########################################################
I do not have much knowledge about rabbitmq. Thank you!