Class EndpointSides
The sides of a component: both, unless its class declares the only one it has with
(Apache Camel's producerOnly / consumerOnly). The context, the
Route-XML catalog, the editor schema and check all read this one declaration, and refuse the missing side
in the one message builds.
public static class EndpointSides
Inheritance
Methods
CreateConsumerOnItsSide(IEndpoint, IProcessor)
The consumer of endpoint, once found that it has one.
public static IConsumer CreateConsumerOnItsSide(this IEndpoint endpoint, IProcessor processor)
CreateProducerOnItsSide(IEndpoint)
The producer of endpoint, once found that it has one.
public static IProducer CreateProducerOnItsSide(this IEndpoint endpoint)
Declaration(Type)
The declaration on componentType; null for both sides.
public static EndpointRoleAttribute? Declaration(Type componentType)
MissingSide(string, EndpointRole, string?)
The refusal of the side scheme does not have, given the only one it has, with the
public static string MissingSide(string scheme, EndpointRole only, string? hint)
Of(IComponent)
The only side component has; null for both.
public static EndpointRole? Of(IComponent component)
Refuse(IEndpoint, EndpointRole)
Throws , the exception the components throw themselves, when
public static void Refuse(IEndpoint endpoint, EndpointRole creating)