Class RobotThreadRoutingStrategy
java.lang.Object
com.bytedesk.service.routing_strategy.RobotThreadRoutingStrategy
- All Implemented Interfaces:
ThreadRoutingStrategy
@Component("robotThreadStrategy")
public class RobotThreadRoutingStrategy
extends Object
implements ThreadRoutingStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.springframework.context.ApplicationEventPublisher
private final MessageRestService
private final QueueMemberRestService
private final QueueService
private final RobotRestService
private final ThreadRestService
private final VisitorThreadService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRobotThread
(VisitorRequest request) createThread
(VisitorRequest visitorRequest) private MessageProtobuf
getRobotContinueMessage
(RobotEntity robot, ThreadEntity thread)
-
Field Details
-
robotService
-
threadService
-
visitorThreadService
-
queueService
-
queueMemberRestService
-
applicationEventPublisher
private final org.springframework.context.ApplicationEventPublisher applicationEventPublisher -
messageRestService
-
-
Constructor Details
-
RobotThreadRoutingStrategy
public RobotThreadRoutingStrategy()
-
-
Method Details
-
createThread
- Specified by:
createThread
in interfaceThreadRoutingStrategy
-
createRobotThread
-
getRobotContinueMessage
-