public class ChannelConfig
extends java.lang.Object
Any configuration property not explicitly specified will take its default value. Defaults are available for all configuration properties, in the same interface as the property.
Modifier and Type | Method and Description |
---|---|
static void |
setDefaultRequestResponseTimeout(java.util.Map<java.lang.String,java.lang.Object> properties,
long timeoutms)
Set the configuration property to indicate the default request-response timeout that
a new EventServiceChannel should use.
|
static void |
setEnforceResponseSequencing(java.util.Map<java.lang.String,java.lang.Object> properties,
boolean enforce)
Set the configuration property to indicate if a new EventServiceChannel should use
strict response sequencing for synchronous request-response invocations.
|
static void |
setInboundEventQueueSoftReferencePrefixes(java.util.Map<java.lang.String,java.lang.Object> properties,
java.util.Set<java.lang.String> prefixes)
Set the configuration property to indicate for which event names a new
EventServiceChannel should use SoftReferences in the inbound queue.
|
static void |
setMessageIdFieldName(java.util.Map<java.lang.String,java.lang.Object> properties,
java.lang.String fieldname)
Set the configuration property to indicate the field name of message ID's (for
request-response) that a new EventServiceChannel should use.
|
public static void setEnforceResponseSequencing(java.util.Map<java.lang.String,java.lang.Object> properties, boolean enforce)
properties
- The Map in which the configuration properties should be updated.enforce
- The new value of the property.IEventServiceChannel.CONFIG_ENFORCE_RESPONSE_SEQUENCING
,
IEventServiceChannel.DEFAULT_ENFORCE_RESPONSE_SEQUENCING
public static void setInboundEventQueueSoftReferencePrefixes(java.util.Map<java.lang.String,java.lang.Object> properties, java.util.Set<java.lang.String> prefixes)
properties
- The Map in which the configuration properties should be updated.prefixes
- The new value of the property. Each value of the Set must be a String.IEventServiceChannel.CONFIG_INBOUND_EVENT_QUEUE_SOFT_REFERENCE_PREFIXES
,
IEventServiceChannel.DEFAULT_INBOUND_EVENT_QUEUE_SOFT_REFERENCE_PREFIXES
public static void setDefaultRequestResponseTimeout(java.util.Map<java.lang.String,java.lang.Object> properties, long timeoutms)
properties
- The Map in which the configuration properties should be updated.timeoutms
- The new value of the property.IEventServiceChannel.CONFIG_DEFAULT_REQUEST_RESPONSE_TIMEOUT
,
IEventServiceChannel.DEFAULT_REQUEST_RESPONSE_TIMEOUT_MS
public static void setMessageIdFieldName(java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.String fieldname)
properties
- The Map in which the configuration properties should be updated.fieldname
- The new value of the property.IEventServiceChannel.CONFIG_MESSAGEID_FIELD_NAME
,
IEventServiceChannel.DEFAULT_MESSAGEID_FIELD_NAME
Submit a bug or feature
Copyright (c) 2013-2019 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.