blob: 562c9dedacfe11157f0bd521a5dbefd523aadc86 [file] [log] [blame]
{"component":{"kind":"component","name":"ehcache","title":"Ehcache","description":"Perform caching operations using Ehcache.","deprecated":false,"firstVersion":"2.18.0","label":"cache,datagrid,clustering","javaType":"org.apache.camel.component.ehcache.EhcacheComponent","supportLevel":"Stable","groupId":"org.apache.camel","artifactId":"camel-ehcache","version":"3.18.1","scheme":"ehcache","extendsScheme":"","syntax":"ehcache:cacheName","async":false,"api":false,"consumerOnly":false,"producerOnly":false,"lenientProperties":false},"headers":{"CamelEhcacheAction":{"kind":"header","displayName":"","group":"common","label":"","required":false,"javaType":"String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"The operation to be performed on the cache, valid options are: CLEAR PUT PUT_ALL PUT_IF_ABSENT GET GET_ALL REMOVE REMOVE_ALL REPLACE","constantName":"org.apache.camel.component.ehcache.EhcacheConstants#ACTION"},"CamelEhcacheActionHasResult":{"kind":"header","displayName":"","group":"common","label":"","required":false,"javaType":"Boolean","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"Set to true if the action has a result","constantName":"org.apache.camel.component.ehcache.EhcacheConstants#ACTION_HAS_RESULT"},"CamelEhcacheActionSucceeded":{"kind":"header","displayName":"","group":"common","label":"","required":false,"javaType":"Boolean","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"Set to true if the action was successful","constantName":"org.apache.camel.component.ehcache.EhcacheConstants#ACTION_SUCCEEDED"},"CamelEhcacheKey":{"kind":"header","displayName":"","group":"common","label":"","required":false,"javaType":"Object","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"The cache key used for an action","constantName":"org.apache.camel.component.ehcache.EhcacheConstants#KEY"},"CamelEhcacheKeys":{"kind":"header","displayName":"","group":"common","label":"","required":false,"javaType":"Set<Object>","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"A list of keys, used in PUT_ALL GET_ALL REMOVE_ALL","constantName":"org.apache.camel.component.ehcache.EhcacheConstants#KEYS"},"CamelEhcacheValue":{"kind":"header","displayName":"","group":"common","label":"","required":false,"javaType":"Object","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"The value to put in the cache or the result of an operation","constantName":"org.apache.camel.component.ehcache.EhcacheConstants#VALUE"},"CamelEhcacheOldValue":{"kind":"header","displayName":"","group":"common","label":"","required":false,"javaType":"Object","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"The old value associated to a key for actions like PUT_IF_ABSENT or the Object used for comparison for actions like REPLACE","constantName":"org.apache.camel.component.ehcache.EhcacheConstants#OLD_VALUE"},"CamelEhcacheEventType":{"kind":"header","displayName":"","group":"common","label":"","required":false,"javaType":"EventType","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"The type of event received","constantName":"org.apache.camel.component.ehcache.EhcacheConstants#EVENT_TYPE"}},"properties":{"cacheName":{"kind":"path","displayName":"Cache Name","group":"common","label":"","required":true,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"the cache name"},"cacheManager":{"kind":"parameter","displayName":"Cache Manager","group":"common","label":"","required":false,"type":"object","javaType":"org.ehcache.CacheManager","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"The cache manager"},"cacheManagerConfiguration":{"kind":"parameter","displayName":"Cache Manager Configuration","group":"common","label":"","required":false,"type":"object","javaType":"org.ehcache.config.Configuration","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"The cache manager configuration"},"configurationUri":{"kind":"parameter","displayName":"Configuration Uri","group":"common","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"URI pointing to the Ehcache XML configuration file's location"},"createCacheIfNotExist":{"kind":"parameter","displayName":"Create Cache If Not Exist","group":"common","label":"","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":true,"configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"Configure if a cache need to be created if it does exist or can't be pre-configured."},"eventFiring":{"kind":"parameter","displayName":"Event Firing","group":"consumer","label":"consumer","required":false,"type":"object","javaType":"org.ehcache.event.EventFiring","enum":["ASYNCHRONOUS","SYNCHRONOUS"],"deprecated":false,"autowired":false,"secret":false,"defaultValue":"ASYNCHRONOUS","configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"Set the delivery mode (synchronous, asynchronous)"},"eventOrdering":{"kind":"parameter","displayName":"Event Ordering","group":"consumer","label":"consumer","required":false,"type":"object","javaType":"org.ehcache.event.EventOrdering","enum":["UNORDERED","ORDERED"],"deprecated":false,"autowired":false,"secret":false,"defaultValue":"ORDERED","configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"Set the delivery mode (ordered, unordered)"},"eventTypes":{"kind":"parameter","displayName":"Event Types","group":"consumer","label":"consumer","required":false,"type":"string","javaType":"java.lang.String","enum":["EVICTED","EXPIRED","REMOVED","CREATED","UPDATED"],"deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"Set the type of events to listen for (EVICTED,EXPIRED,REMOVED,CREATED,UPDATED). You can specify multiple entries separated by comma."},"bridgeErrorHandler":{"kind":"parameter","displayName":"Bridge Error Handler","group":"consumer (advanced)","label":"consumer,advanced","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"description":"Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored."},"exceptionHandler":{"kind":"parameter","displayName":"Exception Handler","group":"consumer (advanced)","label":"consumer,advanced","required":false,"type":"object","javaType":"org.apache.camel.spi.ExceptionHandler","optionalPrefix":"consumer.","deprecated":false,"autowired":false,"secret":false,"description":"To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored."},"exchangePattern":{"kind":"parameter","displayName":"Exchange Pattern","group":"consumer (advanced)","label":"consumer,advanced","required":false,"type":"object","javaType":"org.apache.camel.ExchangePattern","enum":["InOnly","InOut","InOptionalOut"],"deprecated":false,"autowired":false,"secret":false,"description":"Sets the exchange pattern when the consumer creates an exchange."},"action":{"kind":"parameter","displayName":"Action","group":"producer","label":"producer","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"To configure the default cache action. If an action is set in the message header, then the operation from the header takes precedence."},"key":{"kind":"parameter","displayName":"Key","group":"producer","label":"producer","required":false,"type":"object","javaType":"java.lang.Object","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"To configure the default action key. If a key is set in the message header, then the key from the header takes precedence."},"lazyStartProducer":{"kind":"parameter","displayName":"Lazy Start Producer","group":"producer (advanced)","label":"producer,advanced","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"description":"Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."},"configuration":{"kind":"parameter","displayName":"Configuration","group":"advanced","label":"advanced","required":false,"type":"object","javaType":"org.ehcache.config.CacheConfiguration","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"The default cache configuration to be used to create caches."},"configurations":{"kind":"parameter","displayName":"Configurations","group":"advanced","label":"advanced","required":false,"type":"object","javaType":"java.util.Map<java.lang.String, org.ehcache.config.CacheConfiguration>","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"A map of cache configuration to be used to create caches."},"keyType":{"kind":"parameter","displayName":"Key Type","group":"advanced","label":"advanced","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"The cache key type, default java.lang.Object"},"valueType":{"kind":"parameter","displayName":"Value Type","group":"advanced","label":"advanced","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.ehcache.EhcacheConfiguration","configurationField":"configuration","description":"The cache value type, default java.lang.Object"}}}