Skip to content

Commit 2e3c9d9

Browse files
committed
Make sure sending without properties works OK.
1 parent a8a5d51 commit 2e3c9d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/src/com/rabbitmq/client/test/functional/Routing.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ public void testHeadersRouting() throws Exception {
177177

178178
AMQP.BasicProperties props = new AMQP.BasicProperties();
179179

180+
channel.basicPublish("amq.match", "", null, "0".getBytes());
181+
180182
props.headers = new Hashtable<String, Object>();
181183
props.headers.put("h1", "12345");
182184
channel.basicPublish("amq.match", "", props, "1".getBytes());

0 commit comments

Comments
 (0)