public enum GrpcConsumerStrategy extends Enum<GrpcConsumerStrategy>
Enum Constant and Description |
---|
AGGREGATION
Collect all streaming elements in a single request and process them as a list in the route.
|
PROPAGATION
Process each streaming element of a request independently.
|
Modifier and Type | Method and Description |
---|---|
static GrpcConsumerStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpcConsumerStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpcConsumerStrategy AGGREGATION
public static final GrpcConsumerStrategy PROPAGATION
public static GrpcConsumerStrategy[] values()
for (GrpcConsumerStrategy c : GrpcConsumerStrategy.values()) System.out.println(c);
public static GrpcConsumerStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullApache Camel