andytaylor commented on code in PR #4183:
URL: https://github.com/apache/activemq-artemis/pull/4183#discussion_r1061296884
##########
artemis-protocols/artemis-mqtt-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/mqtt/MQTTConnectionManager.java:
##########
@@ -169,7 +169,9 @@ ServerSessionImpl createServerSession(String username,
String password, String v
MQTTUtil.SESSION_AUTO_CREATE_QUEUE,
server.newOperationContext(),
session.getProtocolManager().getPrefixes(),
-
session.getProtocolManager().getSecurityDomain(), validatedUser);
+
session.getProtocolManager().getSecurityDomain(),
+ validatedUser,
+ false);
Review Comment:
fixed
##########
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/proton/AMQPSessionContext.java:
##########
@@ -229,8 +226,7 @@ public void addReplicaTarget(Receiver receiver) throws
Exception {
AMQPMirrorControllerTarget protonReceiver = new
AMQPMirrorControllerTarget(sessionSPI, connection, this, receiver, server);
protonReceiver.initialize();
receivers.put(receiver, protonReceiver);
- ServerProducer serverProducer = new
ServerProducerImpl(receiver.getName(), "AMQP",
receiver.getTarget().getAddress());
- sessionSPI.addProducer(serverProducer);
+ sessionSPI.addProducer(receiver.getName(),
receiver.getTarget().getAddress());
Review Comment:
fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]