SimpleAmqpClient icon indicating copy to clipboard operation
SimpleAmqpClient copied to clipboard

Unhandled exception at 0x74ED4402

Open ChinigamiHunter opened this issue 5 years ago • 1 comments

Unhandled exception at 0x74ED4402 in prod.exe: Microsoft C++ exception: AmqpClient::AmqpResponseLibraryException at memory location 0x004FF660.

AmqpClient::Channel* connection = new AmqpClient::Channel("localhost", 5672, "guest", "guest", "/", 131072); connection->DeclareExchange("exchange", "direct"); connection->DeclareQueue("queue");

AmqpClient::BasicMessage::ptr_t message = AmqpClient::BasicMessage::Create("Hello World");

ChinigamiHunter avatar May 17 '20 01:05 ChinigamiHunter

Add a try/catch block and check the string returned by AmqpResponseLibraryException::message() for more information about what failed.

alanxz avatar Jun 10 '20 01:06 alanxz