Top Deprecated
Spring Messaging 6.1.4

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
6.0

Returns:

the resulting ListenableFuture, or null in which case no further handling will be performed
org.springframework.messaging.handler.invocation.AsyncHandlerMethodReturnValueHandler.toListenableFuture
(Object
the value returned from the handler method
returnValue
,
MethodParameter
the type of the return value
returnType
)

as of 6.0, in favor of toCompletableFuture(Object, MethodParameter)

6.0
org.springframework.messaging.handler.invocation.ListenableFutureReturnValueHandler.toListenableFuture(Object
the value returned from the handler method
returnValue
,
MethodParameter
the type of the return value
returnType
)

Deprecated as a consequence of ListenableFuture being deprecated. See corresponding docs for further information.

Returns:

an RSocketRequester for the connection
org.springframework.messaging.rsocket.RSocketRequester.Builder.connect
(ClientTransport
the client transport to use
transport
)

as of 5.3 in favor of transport(ClientTransport)

Returns:

an RSocketRequester for the connection
org.springframework.messaging.rsocket.RSocketRequester.Builder.connectTcp
(String
the server host
host
,
int
the server port
port
)

as of 5.3 in favor of tcp(String, int)

Returns:

an RSocketRequester for the connection
org.springframework.messaging.rsocket.RSocketRequester.Builder.connectWebSocket
(URI
the RSocket server endpoint URI
uri
)

as of 5.3 in favor of websocket(URI)

org.springframework.messaging.simp.config.ChannelRegistration.taskExecutor(ThreadPoolTaskExecutor
the executor to use (or null for a default executor)
taskExecutor
)

Deprecated as a consequence of ThreadPoolTaskExecutor being deprecated. See corresponding docs for further information.

org.springframework.messaging.simp.config.TaskExecutorRegistration.TaskExecutorRegistration(ThreadPoolTaskExecutor
the executor to use
taskExecutor
)

Deprecated as a consequence of ThreadPoolTaskExecutor being deprecated. See corresponding docs for further information.

org.springframework.messaging.simp.config.TaskExecutorRegistration.getTaskExecutor()

Deprecated as a consequence of ThreadPoolTaskExecutor being deprecated. See corresponding docs for further information.

org.springframework.messaging.simp.config.TaskExecutorRegistration.taskExecutor

Deprecated as a consequence of ThreadPoolTaskExecutor being deprecated. See corresponding docs for further information.

6.0
6.0

Returns:

a ListenableFuture for access to the session when ready for use
org.springframework.messaging.simp.stomp.ReactorNettyTcpStompClient.connect
(StompSessionHandler
the handler for the STOMP session
handler
)

as of 6.0, in favor of connectAsync(StompSessionHandler)

6.0

Returns:

a ListenableFuture for access to the session when ready for use
org.springframework.messaging.simp.stomp.ReactorNettyTcpStompClient.connect
(StompHeaders
headers to add to the CONNECT frame
connectHeaders
,
StompSessionHandler
the handler for the STOMP session
handler
)

as of 6.0, in favor of connectAsync(StompHeaders, StompSessionHandler)

6.0

Returns:

a ListenableFuture that can be used to determine when and if the message was successfully sent
org.springframework.messaging.tcp.TcpConnection.send
(Message<P>
the message
message
)

as of 6.0, in favor of sendAsync(Message)

6.0

Returns:

a ListenableFuture that can be used to determine when and if the connection is successfully established
org.springframework.messaging.tcp.TcpOperations.connect
(TcpConnectionHandler<P>
a handler to manage the connection
connectionHandler
)

as of 6.0, in favor of connectAsync(TcpConnectionHandler)

6.0

Returns:

a ListenableFuture that can be used to determine when and if the initial connection is successfully established
org.springframework.messaging.tcp.TcpOperations.connect
(TcpConnectionHandler<P>
a handler to manage the connection
connectionHandler
,
ReconnectStrategy
a strategy for reconnecting
reconnectStrategy
)

as of 6.0, in favor of connectAsync(TcpConnectionHandler, ReconnectStrategy)

6.0

Returns:

a ListenableFuture that can be used to determine when and if the connection is successfully closed
org.springframework.messaging.tcp.TcpOperations.shutdown
()

as of 6.0, in favor of shutdownAsync()