public class AvroComponent
extends org.apache.camel.impl.UriEndpointComponent
| Constructor and Description |
|---|
AvroComponent() |
AvroComponent(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters)
A factory method allowing derived components to create a new endpoint
from the given URI, remaining path and optional parameters
|
AvroConfiguration |
getConfiguration() |
void |
register(String uri,
String messageName,
AvroConsumer consumer)
Registers new responder with uri as key.
|
void |
setConfiguration(AvroConfiguration configuration) |
void |
unregister(String uri,
String messageName)
Calls unregister of consumer by appropriate message name.
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClassafterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIpublic AvroComponent()
public AvroComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.impl.DefaultComponenturi - the full URI of the endpointremaining - the remaining part of the URI without the query
parameters or component prefixparameters - the optional parameters passed inExceptionpublic void register(String uri, String messageName, AvroConsumer consumer) throws Exception
uri - URI of the endpoint without message namemessageName - message nameconsumer - consumer that will be registered in providers` registryExceptionpublic void unregister(String uri, String messageName)
uri - URI of the endpoint without message namemessageName - message namepublic AvroConfiguration getConfiguration()
public void setConfiguration(AvroConfiguration configuration)
Apache Camel