spring-framework / org.springframework.messaging.handler / MessageCondition / compareTo

compareTo

abstract fun compareTo(other: T, message: Message<*>): Int

Compare this condition to another in the context of a specific message. It is assumed both instances have been obtained via #getMatchingCondition(Message) to ensure they have content relevant to current message only.