mirror of https://github.com/apache/activemq.git
This commit is contained in:
parent
8d31e44e8d
commit
5515b9be3f
|
@ -56,7 +56,8 @@ public class MessageInterceptorRegistry {
|
|||
}
|
||||
|
||||
private MessageInterceptorRegistry(){
|
||||
this.brokerService=null;
|
||||
this.brokerService=BrokerRegistry.getInstance().findFirst();
|
||||
messageInterceptorRegistryMap.put(brokerService,this);
|
||||
}
|
||||
|
||||
private MessageInterceptorRegistry(BrokerService brokerService) {
|
||||
|
|
Loading…
Reference in New Issue