@UriEndpoint(scheme = "k8elasticsearch", title = "ElasticSearch", syntax = "k8elasticsearch:Operation", producerOnly = true, label = "monitoring,search") public class K8ElasticSearchEndpoint extends ElasticsearchEndpoint { @UriParam private K8ElasticSearchConfiguration elasticSearchConfiguration; //only used by APT generator public K8ElasticSearchEndpoint(String uri, ElasticsearchComponent component, K8ElasticSearchConfiguration config, Client client) throws Exception { super(uri, component,config,client); this.elasticSearchConfiguration = config; } }
@UriEndpoint(firstVersion = "2.13.0", scheme = "infinispan", title = "Infinispan", syntax = "infinispan:cacheName", consumerClass = InfinispanConsumer.class, label = "cache,datagrid,clustering") public class InfinispanEndpoint extends DefaultEndpoint { @UriPath(description = "The cache to use") @Metadata(required = "true") private final String cacheName; @UriParam private final InfinispanConfiguration configuration;
/** * The Twitter Direct Message Component consumes/produces user's direct messages. */ @UriEndpoint(firstVersion = "2.10.0", scheme = "twitter-directmessage", title = "Twitter Direct Message", syntax = "twitter-directmessage:user", consumerClass = DirectMessageConsumerHandler.class, label = "api,social") public class TwitterDirectMessageEndpoint extends AbstractTwitterEndpoint { @UriPath(description = "The user name to send a direct message. This will be ignored for consumer.") @Metadata(required = "true") private String user; public TwitterDirectMessageEndpoint(String uri, String remaining, TwitterDirectMessageComponent component, TwitterConfiguration properties) { super(uri, component, properties); this.user = remaining; } @Override public Producer createProducer() throws Exception { return new DirectMessageProducer(this, user); } @Override public Consumer createConsumer(Processor processor) throws Exception { Consumer answer = TwitterHelper.createConsumer(processor, this, new DirectMessageConsumerHandler(this)); return answer; } }
/** * The activemq component allows messages to be sent to (or consumed from) Apache ActiveMQ. * * This component extends the Camel JMS component. */ @UriEndpoint(scheme = "activemq", title = "ActiveMQ", syntax = "activemq:destinationType:destinationName", consumerClass = JmsConsumer.class, label = "messaging") public class ActiveMQEndpoint extends JmsEndpoint { // needed for component documentation }
@UriEndpoint(firstVersion = "2.8.0", scheme = "apns", title = "APNS", syntax = "apns:name", consumerClass = ApnsConsumer.class, label = "eventbus,mobile") public class ApnsEndpoint extends ScheduledPollEndpoint { @UriPath(description = "Name of the endpoint") private String name; @UriParam private String tokens;
@UriEndpoint(firstVersion = "1.4.0", scheme = "spring-event", title = "Spring Event", syntax = "spring-event:name", consumerClass = EventConsumer.class, label = "spring,eventbus") public class EventEndpoint extends DefaultEndpoint implements ApplicationContextAware { private LoadBalancer loadBalancer; private ApplicationContext applicationContext; @UriPath(description = "Name of endpoint") private String name;
@UriEndpoint(firstVersion = "2.17.0", scheme = "jcache", title = "JCache", syntax = "jcache:cacheName", consumerClass = JCacheConsumer.class, label = "cache,datagrid,clustering") public class JCacheEndpoint extends DefaultEndpoint { @UriPath(description = "The name of the cache") @Metadata(required = "true") private final String cacheName; @UriParam private final JCacheConfiguration cacheConfiguration;
@UriEndpoint(scheme="sap-qrfc-destination", syntax = "sap-qrfc-destination:destination:queue:rfc", producerOnly = true, title="SAP Queued RFC Destination") public class SapQueuedRfcDestinationEndpoint extends SapRfcDestinationEndpoint { @UriPath(name = "queue", description = "Specifies the queue this endpoint sends an SAP request to") @Metadata(required = "true") protected String queueName;
/** * Messaging with AMQP protocol using Apache QPid Client. * * This class extends JmsEndpoint because it uses Apache Qpid JMS-compatible client for * performing the AMQP connectivity. */ @UriEndpoint(firstVersion = "1.2.0", scheme = "amqp", extendsScheme = "jms", title = "AMQP", syntax = "amqp:destinationType:destinationName", consumerClass = JmsConsumer.class, label = "messaging") public class AMQPEndpoint extends JmsEndpoint implements AsyncEndpoint { }
@UriEndpoint(firstVersion = "2.16.0", scheme = "coap", title = "CoAP", syntax = "coap:uri", consumerClass = CoAPConsumer.class, label = "iot") public class CoAPEndpoint extends DefaultEndpoint { @UriPath private URI uri; @UriParam(label = "consumer") private String coapMethodRestrict;
/** * Syndesis HTTP component */ @UriEndpoint(firstVersion = "0.2.2", scheme = "syndesis-http", extendsScheme = "http4", syntax = "syndesis-http:serviceName", lenientProperties = true, title = "Syndesis HTTP", excludeProperties = "httpUri", label = "http", producerOnly = true) public class HttpEndpoint extends org.apache.camel.component.http4.HttpEndpoint { // only exists to cheat and let Camel apt-plugin generate component json schema we need for tooling @UriPath(description = "HTTP service to call") private String serviceName; public String getServiceName() { return serviceName; } public void setServiceName(String serviceName) { this.serviceName = serviceName; } }
@UriEndpoint(firstVersion = "1.0-SNAPSHOT", scheme = "mycomponent", title = "My", syntax="mycomponent:name", consumerClass = MyConsumer.class, label = "custom") public class MyEndpoint extends DefaultEndpoint { @UriPath @Metadata(required = "true") private String name; @UriParam(defaultValue = "10") private int option = 10;
@UriEndpoint(firstVersion = "2.10.0", scheme = "twitter-search", title = "Twitter Search", syntax = "twitter-search:keywords", consumerClass = SearchConsumerHandler.class, label = "api,social") public class TwitterSearchEndpoint extends AbstractTwitterEndpoint { @UriPath(description = "The search keywords. Multiple values can be separated with comma.") @Metadata(required = "true") private String keywords;
@UriEndpoint(scheme = "k8amq", title = "JMS", syntax = "jms:destinationType:destinationName", consumerClass = JmsConsumer.class, label = "messaging") public class K8ActiveMQEndpoint extends JmsEndpoint { @UriParam private K8ActiveMQConfiguration activeMQConfiguration; //only used by APT generator }
/** * The ejb component is for invoking EJB Java beans from Camel. */ @UriEndpoint(firstVersion = "2.4.0", scheme = "ejb", title = "EJB", syntax = "ejb:beanName", producerOnly = true, label = "endpoint,java") public class EjbEndpoint extends BeanEndpoint { public EjbEndpoint(String endpointUri, Component component) { super(endpointUri, component); } }
@UriEndpoint(scheme = "erp", title = "ERP", syntax = "erp:name", producerOnly = true, label = "legacy") @ManagedResource(description = "Managed ERPEndpoint") public class ERPEndpoint extends DefaultEndpoint { @UriPath private String name; @UriParam private boolean verbose;
/** * Syndesis HTTP component */ @UriEndpoint(firstVersion = "0.2.2", scheme = "syndesis-http", extendsScheme = "http4", syntax = "syndesis-http:serviceName", lenientProperties = true, title = "Syndesis HTTP", excludeProperties = "httpUri", label = "http", producerOnly = true) public class HttpEndpoint extends org.apache.camel.component.http4.HttpEndpoint { // only exists to cheat and let Camel apt-plugin generate component json schema we need for tooling @UriPath(description = "HTTP service to call") private String serviceName; public String getServiceName() { return serviceName; } public void setServiceName(String serviceName) { this.serviceName = serviceName; } }
@UriEndpoint(scheme = "canova", title = "canova", syntax="canova:inputFormat/?outputFormat=?&inputMarshaller=?", consumerClass = CanovaConsumer.class,label = "canova") @Data public class CanovaEndpoint extends DefaultEndpoint { @UriPath @Metadata(required = "true") private String inputFormat; @UriParam(defaultValue = "") private String outputFormat; @UriParam @Metadata(required = "true") private String inputMarshaller; @UriParam(defaultValue = "org.canova.api.io.converters.SelfWritableConverter") private String writableConverter;
@UriEndpoint(firstVersion = "2.9.0", scheme = "stax", title = "StAX", syntax = "stax:contentHandlerClass", producerOnly = true, label = "transformation") public class StAXEndpoint extends ProcessorEndpoint { @UriPath @Metadata(required = "true") private String contentHandlerClass;
@UriEndpoint(scheme = "k8nats", title = "Nats", syntax = "k8nats:topic", label = "messaging", consumerClass = NatsConsumer.class) public class K8NatsEndpoint extends NatsEndpoint { @UriParam private K8NatsConfiguration natsConfiguration; //only used by APT generator