[rabbitmq-discuss] RABBIT MANAGEMENT HTTP API CANNOT SUPPORT "Create Queue and Exchange"?
Tim Watson
tim at rabbitmq.com
Wed Oct 24 09:42:50 BST 2012
Hi
On 23 Oct 2012, at 19:13, johnson wrote:
> Hi all,
>
> I wrote a sample code to use Rabbitmq management HTTP API. For "Create a new vhost", it works fine.
>
<snip>
>
>
> But if I want to create a new Exchange or Queue using the same code, it always returns NoHTTPResponseException. It seems that once I setEntity for httpput, the exception occurs.
>
Is there anything in the rabbit logs to indicate that an error occurred? Also, can you do this using curl on the command line? If that works, then you might need to use something like wireshark to look at what your http client is putting on the wire.
Cheers,
Tim
More information about the rabbitmq-discuss
mailing list