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…
Reference in New Issue