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