Class MessagePropertyProcessor

java.lang.Object
com.yahoo.feedapi.MessagePropertyProcessor
All Implemented Interfaces:
com.yahoo.config.subscription.ConfigSubscriber.SingleSubscriber<FeederConfig>

public class MessagePropertyProcessor extends Object implements com.yahoo.config.subscription.ConfigSubscriber.SingleSubscriber<FeederConfig>
Utility class for assigning properties to messages, either from implicit config values or from explicit values in requests.
  • Constructor Details

    • MessagePropertyProcessor

      public MessagePropertyProcessor(FeederConfig config)
    • MessagePropertyProcessor

      @Deprecated(forRemoval=true) public MessagePropertyProcessor(FeederConfig config, com.yahoo.vespa.config.content.LoadTypeConfig loadTypeCfg)
      Deprecated, for removal: This API element is subject to removal in a future version.
      load types are deprecated. Use constructor without LoadTypeConfig instead.
  • Method Details

    • setRoute

      public void setRoute(String routeOverride)
    • buildPropertySetter

      public MessagePropertyProcessor.PropertySetter buildPropertySetter(com.yahoo.container.jdisc.HttpRequest request)
    • getDefaultTimeoutMillis

      public long getDefaultTimeoutMillis()
    • configure

      @Deprecated(forRemoval=true) public void configure(FeederConfig config, com.yahoo.vespa.config.content.LoadTypeConfig loadTypeConfig)
      Deprecated, for removal: This API element is subject to removal in a future version.
      load types are deprecated. configure without LoadTypeConfig instead.
    • configure

      public void configure(FeederConfig config)
      Specified by:
      configure in interface com.yahoo.config.subscription.ConfigSubscriber.SingleSubscriber<FeederConfig>