Skip to content

Commit 70c7c02

Browse files
committed
Make sure sending with properties but without headers works OK.
1 parent 2e3c9d9 commit 70c7c02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ public void testHeadersRouting() throws Exception {
178178
AMQP.BasicProperties props = new AMQP.BasicProperties();
179179

180180
channel.basicPublish("amq.match", "", null, "0".getBytes());
181+
channel.basicPublish("amq.match", "", props, "0b".getBytes());
181182

182183
props.headers = new Hashtable<String, Object>();
183184
props.headers.put("h1", "12345");

0 commit comments

Comments
 (0)