SimpleAmqpClient
SimpleAmqpClient copied to clipboard
Unhandled exception at 0x74ED4402
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");
Add a try/catch block and check the string returned by AmqpResponseLibraryException::message() for more information about what failed.