Interface RetainedPublish
-
- All Superinterfaces:
Publish
@DoNotImplement public interface RetainedPublish extends Publish
- Since:
- 4.0.0, CE 2019.1
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description static @NotNull RetainedPublishBuilderbuilder()Deprecated.UseBuilders.retainedPublish()insteaddefault booleangetRetain()Iftruethis message is a retained message, forfalsethis is just a normal publish.-
Methods inherited from interface com.hivemq.extension.sdk.api.services.publish.Publish
getContentType, getCorrelationData, getMessageExpiryInterval, getPayload, getPayloadFormatIndicator, getQos, getResponseTopic, getTopic, getUserProperties
-
-
-
-
Method Detail
-
builder
@Deprecated(since="4.4.0") @NotNull static @NotNull RetainedPublishBuilder builder()
Deprecated.UseBuilders.retainedPublish()instead- Returns:
- A new
RetainedPublishBuilderto create a retained publish. - Since:
- 4.0.0, CE 2019.1
-
-