AWS ActiveMQ: how to connect from c#?

0

I have created AWS ActiveMQ broker: single.

Inbound rule for port 8162 is added, run console - it works. Ok, now I need to connect to the broker from my c# application. I do :

Uri connecturi2 = new Uri("activemq:tcp://" + hostName); var connectionFactory = new ConnectionFactory(connecturi2); var connection = connectionFactory.CreateConnection("mq_dev", "mq_dev!"); connection.Start();

and receive: Apache.NMS.ActiveMQ.IOException: 'Channel was inactive for too long: tcp://*2-1.mq.eu-west-1.amazonaws.com:5671

What is wrong? What should I fix?

Oleg
질문됨 9달 전65회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠