@@ -223,6 +223,7 @@ protected List<? extends HandlerMethodReturnValueHandler> initReturnValueHandler
223
223
}
224
224
225
225
226
+ @ Override
226
227
@ Nullable
227
228
protected CompositeMessageCondition getCondition (AnnotatedElement element ) {
228
229
MessageMapping annot1 = AnnotatedElementUtils .findMergedAnnotation (element , MessageMapping .class );
@@ -305,16 +306,16 @@ private MessagingRSocket createResponder(ConnectionSetupPayload setupPayload, RS
305
306
Assert .notNull (dataMimeType , "No `dataMimeType` in ConnectionSetupPayload and no default value" );
306
307
307
308
s = setupPayload .metadataMimeType ();
308
- MimeType metaMimeType = StringUtils .hasText (s ) ? MimeTypeUtils .parseMimeType (s ) : this .defaultMetadataMimeType ;
309
- Assert .notNull (dataMimeType , "No `metadataMimeType` in ConnectionSetupPayload and no default value" );
309
+ MimeType metadataMimeType = StringUtils .hasText (s ) ? MimeTypeUtils .parseMimeType (s ) : this .defaultMetadataMimeType ;
310
+ Assert .notNull (metadataMimeType , "No `metadataMimeType` in ConnectionSetupPayload and no default value" );
310
311
311
312
RSocketStrategies strategies = this .rsocketStrategies ;
312
313
Assert .notNull (strategies , "No RSocketStrategies. Was afterPropertiesSet not called?" );
313
- RSocketRequester requester = RSocketRequester .wrap (rsocket , dataMimeType , metaMimeType , strategies );
314
+ RSocketRequester requester = RSocketRequester .wrap (rsocket , dataMimeType , metadataMimeType , strategies );
314
315
315
316
Assert .notNull (this .metadataExtractor , () -> "No MetadataExtractor. Was afterPropertiesSet not called?" );
316
317
317
- return new MessagingRSocket (dataMimeType , metaMimeType , this .metadataExtractor , requester ,
318
+ return new MessagingRSocket (dataMimeType , metadataMimeType , this .metadataExtractor , requester ,
318
319
this , getRouteMatcher (), strategies .dataBufferFactory ());
319
320
}
320
321
0 commit comments