class MessageFilterRegistry {

   public MessageFilter getMessageFilter(PlatformMessage message) {
      MessageFilter filter = filters.get(message.getMessageType());
      return filter == null ? fallbackFilter : filter;
   }

   @Inject public  MessageFilterRegistry(Set<MessageFilter> filters);

}