ServiceErrorHandler
and
PooledSplitJoinService
.@Deprecated @ConfigDeprecated(removalVersion="4.0.0", message="since 3.11.1 replaced by \'ServiceErrorHandler\' and \'PooledSplitJoinService\'", groups=java.lang.Deprecated.class) public class MetadataFlagPoolingFutureExceptionStrategy extends java.lang.Object implements PoolingFutureExceptionStrategy
This strategy is useful if messages within a split-join are transient, and can be ignored
provided some of them work; it allows you to ignore exceptions processing individual mesages
provided one or more messages have set a specific metadata to the value true | 1
.
In the adapter configuration file this class is aliased as metadata-flag-pooling-future-exception-strategy which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
MetadataFlagPoolingFutureExceptionStrategy()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
handle(ServiceExceptionHandler handler,
java.util.List<java.util.concurrent.Future<AdaptrisMessage>> results)
Deprecated.
|
void |
setMetadataFlagKey(java.lang.String metadataKey)
Deprecated.
|
public MetadataFlagPoolingFutureExceptionStrategy()
public void handle(ServiceExceptionHandler handler, java.util.List<java.util.concurrent.Future<AdaptrisMessage>> results) throws CoreException
handle
in interface PoolingFutureExceptionStrategy
CoreException
public void setMetadataFlagKey(java.lang.String metadataKey)