In the Spring AMQP Project, if messageProperties does not have messageId, they always create messageId.
Like This..
if (this.createMessageIds && messageProperties.getMessageId()==null) {
messageProperties.setMessageId(UUID.randomUUID().toString());
}
I want to know what messageId is. So, I try to find out where messageId is used. But I couldn't find it in Spring AMQP Source.
What happens if messageId does not exist? Why is messageId needed in AMQP?