mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-04 16:29:28 +00:00
This closes #760
This commit is contained in:
commit
a7cac9ba5c
@ -164,8 +164,7 @@ public class ProtonServerSenderContext extends AbstractProtonContextSender imple
|
||||
sender.setSource(source);
|
||||
}
|
||||
else {
|
||||
sender.setCondition(new ErrorCondition(AmqpError.NOT_FOUND, "Unknown subscription link: " + sender.getName()));
|
||||
sender.close();
|
||||
throw new ActiveMQAMQPNotFoundException("Unknown subscription link: " + sender.getName());
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user