From 8abe9153a48110707f1a389e68ab229a1fa61529 Mon Sep 17 00:00:00 2001 From: eduard93 Date: Wed, 19 Sep 2018 21:46:54 +0300 Subject: [PATCH] Always allow Content-Type --- src/isc/rabbitmq/API.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/isc/rabbitmq/API.java b/src/isc/rabbitmq/API.java index 7ace9f6..2c16fef 100644 --- a/src/isc/rabbitmq/API.java +++ b/src/isc/rabbitmq/API.java @@ -77,7 +77,7 @@ public void sendMessage(byte[] msg) throws Exception { } public void sendMessageToQueue(String queue, byte[] msg) throws Exception { - _channel.basicPublish(_exchange, queue, null, msg); + sendMessageToQueue(queue, msg, null, null); } public void sendMessageToQueue(String queue, byte[] msg, String correlationId, String messageId) throws Exception {