Search in sources :

Example 6 with DestinationPatternsMessageCondition

use of org.springframework.messaging.handler.DestinationPatternsMessageCondition in project spring-framework by spring-projects.

the class SimpMessageMappingInfo method combine.

@Override
public SimpMessageMappingInfo combine(SimpMessageMappingInfo other) {
    SimpMessageTypeMessageCondition typeCond = this.getMessageTypeMessageCondition().combine(other.getMessageTypeMessageCondition());
    DestinationPatternsMessageCondition destCond = this.destinationConditions.combine(other.getDestinationConditions());
    return new SimpMessageMappingInfo(typeCond, destCond);
}
Also used : DestinationPatternsMessageCondition(org.springframework.messaging.handler.DestinationPatternsMessageCondition)

Aggregations

DestinationPatternsMessageCondition (org.springframework.messaging.handler.DestinationPatternsMessageCondition)6 CompositeMessageCondition (org.springframework.messaging.handler.CompositeMessageCondition)4 Nullable (org.springframework.lang.Nullable)2 MessageMapping (org.springframework.messaging.handler.annotation.MessageMapping)2 MethodParameter (org.springframework.core.MethodParameter)1 HandlerMethod (org.springframework.messaging.handler.HandlerMethod)1 MessageCondition (org.springframework.messaging.handler.MessageCondition)1 PayloadMethodArgumentResolver (org.springframework.messaging.handler.annotation.reactive.PayloadMethodArgumentResolver)1 ConnectMapping (org.springframework.messaging.rsocket.annotation.ConnectMapping)1