public class CatalogEndpoint
extends org.apache.camel.impl.DefaultEndpoint
implements org.apache.camel.MultipleConsumersSupport
catalog
Camel route node.Constructor and Description |
---|
CatalogEndpoint(String uri,
CatalogComponent component,
String transformerId,
String mimeType,
String contextPath,
CatalogFramework catalogFramework)
Constructs a CatalogEndpoint for the specified custom
catalog component. |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
CatalogComponent |
getComponent() |
org.apache.camel.ExchangePattern |
getExchangePattern() |
String |
getMimeType() |
String |
getTransformerId() |
boolean |
isMultipleConsumersSupported() |
boolean |
isSingleton() |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public CatalogEndpoint(String uri, CatalogComponent component, String transformerId, String mimeType, String contextPath, CatalogFramework catalogFramework)
catalog
component.uri
- the endpoint's URIcomponent
- the route node catalog componenttransformerId
- the InputTransformer
ID, id=xmlmimeType
- the registered service mime-typecontextPath
- the context path of the catalog route node, which is the portion of the URI
after the catalog
scheme, e.g., inputtransformer
, which indicates
how to interpret the catalog
route nodecatalogFramework
- the catalog frameworkpublic CatalogComponent getComponent()
getComponent
in class org.apache.camel.impl.DefaultEndpoint
public org.apache.camel.ExchangePattern getExchangePattern()
getExchangePattern
in class org.apache.camel.impl.DefaultEndpoint
public org.apache.camel.Producer createProducer()
createProducer
in interface org.apache.camel.Endpoint
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
createConsumer
in interface org.apache.camel.Endpoint
public String getTransformerId()
public String getMimeType()
public boolean isSingleton()
isSingleton
in interface org.apache.camel.IsSingleton
public boolean isMultipleConsumersSupported()
isMultipleConsumersSupported
in interface org.apache.camel.MultipleConsumersSupport
This work is licensed under a Creative Commons Attribution 4.0 International License.