Class Message.MessageProperties
java.lang.Object
org.springframework.data.mongodb.core.messaging.Message.MessageProperties
- Since:
- 2.1
- Author:
- Christoph Strobl
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Obtain a shiny newMessage.MessageProperties.MessagePropertiesBuilder
and start defining options in this fancy fluent way.static Message.MessageProperties
empty()
boolean
The collection name the message originates from.The database name the message originates from.int
hashCode()
toString()
-
Constructor Details
-
MessageProperties
public MessageProperties()
-
-
Method Details
-
getDatabaseName
The database name the message originates from.- Returns:
- can be null.
-
getCollectionName
The collection name the message originates from.- Returns:
- can be null.
-
empty
- Returns:
- empty
Message.MessageProperties
.
-
builder
Obtain a shiny newMessage.MessageProperties.MessagePropertiesBuilder
and start defining options in this fancy fluent way. Just don't forget to callbuild()
when done.- Returns:
- new instance of
Message.MessageProperties.MessagePropertiesBuilder
.
-
equals
-
hashCode
public int hashCode() -
toString
-