Skip to content

Commit

Permalink
Update AMQPPublisher.java
Browse files Browse the repository at this point in the history
  • Loading branch information
qambber authored and jlavallee committed Feb 12, 2017
1 parent c2ababc commit 60f6dc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ protected AMQP.BasicProperties getProperties() {
.type(getMessageType())
.headers(prepareHeaders())
.build();
if (getMessageId() != null && getMessageId().isEmpty()) {
if (getMessageId() != null && !getMessageId().isEmpty()) {
builder.messageId(getMessageId());
}
return builder.build();
Expand Down

0 comments on commit 60f6dc6

Please sign in to comment.