Skip to content

Commit 75111a3

Browse files
committed
Fix IT
Signed-off-by: Shubham Sharma <[email protected]>
1 parent af6c880 commit 75111a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk-tests/src/test/java/io/dapr/it/pubsub/http/SubscriberController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public Mono<Void> handleMessageLongValues(@RequestBody(required = false) CloudEv
201201
@Topic(name = "topicBulkSub", pubsubName = "messagebus")
202202
@PostMapping(path = "/routeBulkSub")
203203
public Mono<BulkSubscribeAppResponse> handleMessageBulk(
204-
@RequestBody(required = false) BulkPubSubMessage<CloudEvent<String>> bulkMessage) {
204+
@RequestBody(required = false) BulkSubscribeMessage<CloudEvent<String>> bulkMessage) {
205205
return Mono.fromCallable(() -> {
206206
if (bulkMessage.getEntries().size() == 0) {
207207
BulkSubscribeAppResponse response = new BulkSubscribeAppResponse(new ArrayList<>());
@@ -210,7 +210,7 @@ public Mono<BulkSubscribeAppResponse> handleMessageBulk(
210210
}
211211

212212
List<BulkSubscribeAppResponseEntry> entries = new ArrayList<>();
213-
for (BulkPubSubMessageEntry<?> entry: bulkMessage.getEntries()) {
213+
for (BulkSubscribeMessageEntry<?> entry: bulkMessage.getEntries()) {
214214
try {
215215
System.out.printf("Bulk Subscriber got entry ID: %s\n", entry.getEntryId());
216216
entries.add(new BulkSubscribeAppResponseEntry(entry.getEntryId(), BulkSubscribeAppResponseStatus.SUCCESS));

0 commit comments

Comments
 (0)