Skip to content

Commit

Permalink
Merge pull request #60 from bosch-io/bugfix/live-message-response-via…
Browse files Browse the repository at this point in the history
…-ditto-client

Allow to respond to live messages via ditto client
Johannes Schneider authored May 11, 2020
2 parents 6c0bdf3 + cc906ee commit f3f550a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -145,10 +145,6 @@ private <R> void buildAndSendMessage(final T payload, final MessageResponseConsu
.timestamp(messageTimestamp)
.correlationId(messageCorrelationId);

if (responseConsumer == null) {
messageHeadersBuilder.responseRequired(false);
}

if (null != messageStatusCode) {
if (messageStatusCode == HttpStatusCode.NO_CONTENT && payload != null) {
final String warnMessage = "StatusCode '" + HttpStatusCode.NO_CONTENT + "' cannot be used in "

0 comments on commit f3f550a

Please sign in to comment.