Package com.yahoo.feedapi
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.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionMessagePropertyProcessor
(FeederConfig config) 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. -
Method Summary
Modifier and TypeMethodDescriptionbuildPropertySetter
(com.yahoo.container.jdisc.HttpRequest request) void
configure
(FeederConfig config) 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.long
void
-
Constructor Details
-
MessagePropertyProcessor
-
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
-
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
- Specified by:
configure
in interfacecom.yahoo.config.subscription.ConfigSubscriber.SingleSubscriber<FeederConfig>
-