Skip to content

Commit 7db68f9

Browse files
committed
fix #568 - pass along client to onSuccess listeners
1 parent 40df91c commit 7db68f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/marklogic/client/datamovement/ApplyTransformListener.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public void processEvent(QueryBatch batch) {
9292
services.postResource(null, "internal/apply-transform", null, params, uris, new ReaderHandle()).get()
9393
).lines().collect(Collectors.toList());
9494
QueryBatchImpl processedBatch = new QueryBatchImpl()
95+
.withClient( batch.getClient() )
9596
.withItems( responseUris.toArray(new String[responseUris.size()]) )
9697
.withTimestamp( batch.getTimestamp() )
9798
.withJobBatchNumber( batch.getJobBatchNumber() )

0 commit comments

Comments
 (0)