FHIR Chat · SubscriptionActivatingIterceptorsQuestion · hapi

Stream: hapi

Topic: SubscriptionActivatingIterceptorsQuestion


view this post on Zulip Neil Lott (Dec 24 2020 at 02:09):

Also, this code also no longer refers to classes that I can import

@Autowired
private SubscriptionActivatingInterceptor subscriptionActivatingInterceptor;

@Autowired
private SubscriptionInterceptorLoader subscriptionInterceptorLoader;

....
server.registerInterceptor(subscriptionActivatingInterceptor);
server.registerInterceptor(subscriptionMatcherInterceptor);
subscriptionMatcherInterceptor.start();
subscriptionInterceptorLoader.registerInterceptors();

Would someone point me to the new way to do this? Thanks!


Last updated: Apr 12 2022 at 19:14 UTC