clebertsuconic commented on a change in pull request #2656: ARTEMIS-2328
Routing after empty addresses could lead to invalid mess…
URL: https://github.com/apache/activemq-artemis/pull/2656#discussion_r280006346
##########
File path:
artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/PostOfficeImpl.java
##########
@@ -907,8 +907,7 @@ public RoutingStatus route(final Message message,
AddressInfo addressInfo = addressManager.getAddressInfo(address);
if (bindingMove != null) {
- context.clear();
- context.setReusable(false);
+ context.clear().setReusable(false);
Review comment:
not needed, I'm just keeping how this is called everywhere else. I don't see
it much different.. I was debugging it the whole day.
I can take it out from the diff.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services