mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-28 22:39:27 +00:00
ARTEMIS-2985 Ordered Executor not needed on Actor
The Actor is already an ordered executor. No need to create one here.
This commit is contained in:
parent
4f208ef4b1
commit
e75a679dec
@ -71,7 +71,7 @@ public class MQTTProtocolHandler extends ChannelInboundHandlerAdapter {
|
||||
public MQTTProtocolHandler(ActiveMQServer server, MQTTProtocolManager protocolManager) {
|
||||
this.server = server;
|
||||
this.protocolManager = protocolManager;
|
||||
this.mqttMessageActor = new Actor<>(server.getExecutorFactory().getExecutor(), this::act);
|
||||
this.mqttMessageActor = new Actor<>(server.getThreadPool(), this::act);
|
||||
}
|
||||
|
||||
void setConnection(MQTTConnection connection, ConnectionEntry entry) throws Exception {
|
||||
|
Loading…
x
Reference in New Issue
Block a user