Package com.bytedesk.kbase.llm_file.mq
Class FileChunkMessageConsumer
java.lang.Object
com.bytedesk.kbase.llm_file.mq.FileChunkMessageConsumer
文件Chunk消息消费者
处理文件chunk相关的异步消息
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleChunkComplete(String fileId) 处理文件块处理完成消息voidhandleChunkIndex(String chunkIds) 处理文件块索引消息voidhandleChunkRetry(String chunkId) 处理文件块重试消息
-
Field Details
-
fileRestService
-
chunkRestService
-
-
Constructor Details
-
FileChunkMessageConsumer
public FileChunkMessageConsumer()
-
-
Method Details
-
handleChunkRetry
@JmsListener(destination="bytedesk.queue.file.chunk.retry", containerFactory="jmsArtemisQueueFactory") public void handleChunkRetry(String chunkId) 处理文件块重试消息 -
handleChunkComplete
@JmsListener(destination="bytedesk.queue.file.chunk.complete", containerFactory="jmsArtemisQueueFactory") public void handleChunkComplete(String fileId) 处理文件块处理完成消息 -
handleChunkIndex
@JmsListener(destination="bytedesk.queue.file.chunk.index", containerFactory="jmsArtemisQueueFactory") public void handleChunkIndex(String chunkIds) 处理文件块索引消息
-