Skip to content

Commit 930c8c5

Browse files
authored
udpate javadoc for CompletableFuture and rx migration information (Azure#26687)
1 parent b7f43bf commit 930c8c5

File tree

9 files changed

+15
-20
lines changed

9 files changed

+15
-20
lines changed

sdk/spring/azure-spring-integration-core/src/main/java/com/azure/spring/integration/core/AzureCheckpointer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
/**
1313
* Azure implementation for check point callback.
1414
*
15-
* @deprecated {@link CompletableFuture} API will be dropped in version 4.0.0, please migrate to reactor API in
16-
* {@link com.azure.spring.integration.core.api.reactor.AzureCheckpointer}. From version 4.0.0, the reactor API support
17-
* will be moved to com.azure.spring.messaging.core.checkpoint.AzureCheckpointer.
15+
* @deprecated {@link CompletableFuture} API will be dropped in version 4.x, please migrate to reactor API in 4.x.
16+
* The reactor API support will be moved to com.azure.spring.messaging.checkpoint.AzureCheckpointer.
1817
*/
1918
@Deprecated
2019
public class AzureCheckpointer implements Checkpointer {

sdk/spring/azure-spring-integration-core/src/main/java/com/azure/spring/integration/core/DefaultMessageHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
* It delegates real operation to {@link SendOperation} which supports synchronous and asynchronous sending.
3838
*
3939
* @author Warren Zhu
40-
* @deprecated {@link CompletableFuture} API will be dropped in version 4.0.0, please migrate to reactor API in
40+
* @deprecated {@link CompletableFuture} API will be dropped in version 4.x, please migrate to reactor API in
4141
* {@link com.azure.spring.integration.core.api.reactor.DefaultMessageHandler}. From version 4.0.0, the reactor API support
42-
* will be moved to com.azure.spring.messaging.core.DefaultMessageHandler.
42+
* will be moved to com.azure.spring.integration.handler.DefaultMessageHandler.
4343
*/
4444
@Deprecated
4545
public class DefaultMessageHandler extends AbstractMessageProducingHandler {

sdk/spring/azure-spring-integration-core/src/main/java/com/azure/spring/integration/core/api/BatchSendOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* @author Warren Zhu
1616
*
17-
* @deprecated {@link CompletableFuture} API will be dropped in version 4.0.0, please migrate to reactor API in
17+
* @deprecated {@link CompletableFuture} API will be dropped in version 4.x, please migrate to reactor API in
1818
* {@link com.azure.spring.integration.core.api.reactor.BatchSendOperation}. From version 4.0.0, the reactor API support
1919
* will be moved to com.azure.spring.messaging.core.BatchSendOperation.
2020
*/

sdk/spring/azure-spring-integration-core/src/main/java/com/azure/spring/integration/core/api/Checkpointer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
* A callback to perform checkpoint.
1010
*
1111
* @author Warren Zhu
12-
* @deprecated {@link CompletableFuture} API will be dropped in version 4.0.0, please migrate to reactor API in
13-
* {@link com.azure.spring.integration.core.api.reactor.Checkpointer}. From version 4.0.0, the reactor PAI support will
14-
* be move to com.azure.spring.messaging.core.checkpoint.Checkpointer.
12+
* @deprecated {@link CompletableFuture} API will be dropped in version 4.x, please migrate to reactor API in 4.x.
13+
* The reactor PAI support will be move to com.azure.spring.messaging.checkpoint.Checkpointer.
1514
*/
1615
@Deprecated
1716
public interface Checkpointer {

sdk/spring/azure-spring-integration-core/src/main/java/com/azure/spring/integration/core/api/RxSendOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
* @author Warren Zhu
1313
*
14-
* @deprecated {@link rx} API will be dropped in version 4.0.0, please migrate to reactor API in
14+
* @deprecated {@link rx} API will be dropped in version 4.x, please migrate to reactor API in
1515
* {@link com.azure.spring.integration.core.api.reactor.SendOperation}. From version 4.0.0, the reactor API support will
1616
* be moved to com.azure.spring.messaging.core.SendOperation.
1717
*/

sdk/spring/azure-spring-integration-core/src/main/java/com/azure/spring/integration/core/api/RxSubscribeByGroupOperation.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@
1010
* Operations for subscribing to a destination with a consumer group in a reactive way.
1111
*
1212
* @author Warren Zhu
13-
* @deprecated {@link rx} API will be dropped in version 4.0.0, please migrate to reactor API in
14-
* {@link SubscribeByGroupOperation}. From version 4.0.0, the reactor API support will be moved to
15-
* com.azure.spring.messaging.core.SubscribeByGroupOperation.
13+
* @deprecated {@link SubscribeByGroupOperation} will be dropped in version 4.x and use
14+
* com.azure.spring.eventhubs.core.EventHubsProcessorContainer and com.azure.spring.servicebus.core.ServiceBusProcessorContainer instead.
1615
*/
1716
@Deprecated
1817
public interface RxSubscribeByGroupOperation extends Checkpointable {

sdk/spring/azure-spring-integration-core/src/main/java/com/azure/spring/integration/core/api/RxSubscribeOperation.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
* Operations for subscribing to a destination in reactive way.
1111
*
1212
* @author Warren Zhu
13-
* @deprecated {@link rx} API will be dropped in version 4.0.0, please migrate to reactor API in
14-
* {@link SubscribeOperation}. From version 4.0.0, the reactor API support will be moved to
15-
* com.azure.spring.messaging.core.SubscribeOperation.
13+
* @deprecated {@link SubscribeOperation} will be dropped in version 4.x and use com.azure.spring.servicebus.core.ServiceBusProcessorContainer instead.
1614
*/
1715
@Deprecated
1816
public interface RxSubscribeOperation {

sdk/spring/azure-spring-integration-eventhubs/src/main/java/com/azure/spring/integration/eventhub/api/EventHubRxOperation.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
*
1313
* @author Warren Zhu
1414
*
15-
* @deprecated {@link rx} API will be dropped in version 4.0.0, please migrate to reactor API in
16-
* {@link EventHubOperation}. From version 4.0.0, the reactor API support will be moved to
17-
* com.azure.spring.eventhubs.core.EventHubOperation.
15+
* @deprecated {@link rx} API will be dropped in version 4.x, please migrate to reactor API in
16+
* {@link EventHubOperation}. From version 4.0.0, {@link EventHubOperation} will be dropped
17+
* and use com.azure.spring.messaging.core.SendOperation instead.
1818
*/
1919
@Deprecated
2020
public interface EventHubRxOperation extends RxSendOperation, RxSubscribeByGroupOperation {

sdk/spring/azure-spring-integration-eventhubs/src/main/java/com/azure/spring/integration/eventhub/impl/EventHubRxTemplate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @author Warren Zhu
2121
* @author Xiaolu Dai
2222
*
23-
* @deprecated {@link rx} API will be dropped in version 4.0.0, please migrate to reactor API in
23+
* @deprecated {@link rx} API will be dropped in version 4.x, please migrate to reactor API in
2424
* {@link EventHubTemplate}. From version 4.0.0, the reactor API support will be moved to
2525
* com.azure.spring.eventhubs.core.EventHubTemplate.
2626
*/

0 commit comments

Comments
 (0)