blob: 86a81e2dc06dcbe5cb231cbe5962426095f6a6d6 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.snmp.CamelSnmpSourceConnector",
"artifactId": "camel-snmp-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-snmp-source",
"type": "source",
"version": "0.7.0",
"description": "Receive traps and poll SNMP (Simple Network Management Protocol) capable devices."
},
"properties": {
"camel.source.path.host": {
"name": "camel.source.path.host",
"description": "Hostname of the SNMP enabled device",
"priority": "HIGH",
"required": "true"
},
"camel.source.path.port": {
"name": "camel.source.path.port",
"description": "Port number of the SNMP enabled device",
"priority": "HIGH",
"required": "true"
},
"camel.source.endpoint.oids": {
"name": "camel.source.endpoint.oids",
"description": "Defines which values you are interested in. Please have a look at the Wikipedia to get a better understanding. You may provide a single OID or a coma separated list of OIDs. Example: oids=1.3.6.1.2.1.1.3.0,1.3.6.1.2.1.25.3.2.1.5.1,1.3.6.1.2.1.25.3.5.1.1.1,1.3.6.1.2.1.43.5.1.1.11.1",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.protocol": {
"name": "camel.source.endpoint.protocol",
"description": "Here you can select which protocol to use. You can use either udp or tcp. One of: [tcp] [udp]",
"defaultValue": "\"udp\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"tcp",
"udp"
]
},
"camel.source.endpoint.retries": {
"name": "camel.source.endpoint.retries",
"description": "Defines how often a retry is made before canceling the request.",
"defaultValue": "2",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.snmpCommunity": {
"name": "camel.source.endpoint.snmpCommunity",
"description": "Sets the community octet string for the snmp request.",
"defaultValue": "\"public\"",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.snmpContextEngineId": {
"name": "camel.source.endpoint.snmpContextEngineId",
"description": "Sets the context engine ID field of the scoped PDU.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.snmpContextName": {
"name": "camel.source.endpoint.snmpContextName",
"description": "Sets the context name field of this scoped PDU.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.snmpVersion": {
"name": "camel.source.endpoint.snmpVersion",
"description": "Sets the snmp version for the request. The value 0 means SNMPv1, 1 means SNMPv2c, and the value 3 means SNMPv3 One of: [0] [1] [3]",
"defaultValue": "0",
"priority": "MEDIUM",
"required": "false",
"enum": [
"0",
"1",
"3"
]
},
"camel.source.endpoint.timeout": {
"name": "camel.source.endpoint.timeout",
"description": "Sets the timeout value for the request in millis.",
"defaultValue": "1500",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.type": {
"name": "camel.source.endpoint.type",
"description": "Which operation to perform such as poll, trap, etc. One of: [TRAP] [POLL] [GET_NEXT]",
"priority": "MEDIUM",
"required": "false",
"enum": [
"TRAP",
"POLL",
"GET_NEXT"
]
},
"camel.source.endpoint.bridgeErrorHandler": {
"name": "camel.source.endpoint.bridgeErrorHandler",
"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.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.delay": {
"name": "camel.source.endpoint.delay",
"description": "Sets update rate in seconds",
"defaultValue": "60000L",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.sendEmptyMessageWhenIdle": {
"name": "camel.source.endpoint.sendEmptyMessageWhenIdle",
"description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.treeList": {
"name": "camel.source.endpoint.treeList",
"description": "Sets the flag whether the scoped PDU will be displayed as the list if it has child elements in its tree",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.exceptionHandler": {
"name": "camel.source.endpoint.exceptionHandler",
"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.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.exchangePattern": {
"name": "camel.source.endpoint.exchangePattern",
"description": "Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut]",
"priority": "MEDIUM",
"required": "false",
"enum": [
"InOnly",
"InOut",
"InOptionalOut"
]
},
"camel.source.endpoint.pollStrategy": {
"name": "camel.source.endpoint.pollStrategy",
"description": "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.synchronous": {
"name": "camel.source.endpoint.synchronous",
"description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.backoffErrorThreshold": {
"name": "camel.source.endpoint.backoffErrorThreshold",
"description": "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.backoffIdleThreshold": {
"name": "camel.source.endpoint.backoffIdleThreshold",
"description": "The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.backoffMultiplier": {
"name": "camel.source.endpoint.backoffMultiplier",
"description": "To let the scheduled polling consumer backoff if there has been a number of subsequent idles\/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and\/or backoffErrorThreshold must also be configured.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.greedy": {
"name": "camel.source.endpoint.greedy",
"description": "If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.initialDelay": {
"name": "camel.source.endpoint.initialDelay",
"description": "Milliseconds before the first poll starts.",
"defaultValue": "1000L",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.repeatCount": {
"name": "camel.source.endpoint.repeatCount",
"description": "Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever.",
"defaultValue": "0L",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.runLoggingLevel": {
"name": "camel.source.endpoint.runLoggingLevel",
"description": "The consumer logs a start\/complete log line when it polls. This option allows you to configure the logging level for that. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]",
"defaultValue": "\"TRACE\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"TRACE",
"DEBUG",
"INFO",
"WARN",
"ERROR",
"OFF"
]
},
"camel.source.endpoint.scheduledExecutorService": {
"name": "camel.source.endpoint.scheduledExecutorService",
"description": "Allows for configuring a custom\/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.scheduler": {
"name": "camel.source.endpoint.scheduler",
"description": "To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler",
"defaultValue": "\"none\"",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.schedulerProperties": {
"name": "camel.source.endpoint.schedulerProperties",
"description": "To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.startScheduler": {
"name": "camel.source.endpoint.startScheduler",
"description": "Whether the scheduler should be auto started.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.timeUnit": {
"name": "camel.source.endpoint.timeUnit",
"description": "Time unit for initialDelay and delay options. One of: [NANOSECONDS] [MICROSECONDS] [MILLISECONDS] [SECONDS] [MINUTES] [HOURS] [DAYS]",
"defaultValue": "\"MILLISECONDS\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"NANOSECONDS",
"MICROSECONDS",
"MILLISECONDS",
"SECONDS",
"MINUTES",
"HOURS",
"DAYS"
]
},
"camel.source.endpoint.useFixedDelay": {
"name": "camel.source.endpoint.useFixedDelay",
"description": "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.authenticationPassphrase": {
"name": "camel.source.endpoint.authenticationPassphrase",
"description": "The authentication passphrase. If not null, authenticationProtocol must also be not null. RFC3414 11.2 requires passphrases to have a minimum length of 8 bytes. If the length of authenticationPassphrase is less than 8 bytes an IllegalArgumentException is thrown.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.authenticationProtocol": {
"name": "camel.source.endpoint.authenticationProtocol",
"description": "Authentication protocol to use if security level is set to enable authentication The possible values are: MD5, SHA1 One of: [MD5] [SHA1]",
"priority": "MEDIUM",
"required": "false",
"enum": [
"MD5",
"SHA1"
]
},
"camel.source.endpoint.privacyPassphrase": {
"name": "camel.source.endpoint.privacyPassphrase",
"description": "The privacy passphrase. If not null, privacyProtocol must also be not null. RFC3414 11.2 requires passphrases to have a minimum length of 8 bytes. If the length of authenticationPassphrase is less than 8 bytes an IllegalArgumentException is thrown.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.privacyProtocol": {
"name": "camel.source.endpoint.privacyProtocol",
"description": "The privacy protocol ID to be associated with this user. If set to null, this user only supports unencrypted messages.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.securityLevel": {
"name": "camel.source.endpoint.securityLevel",
"description": "Sets the security level for this target. The supplied security level must be supported by the security model dependent information associated with the security name set for this target. The value 1 means: No authentication and no encryption. Anyone can create and read messages with this security level The value 2 means: Authentication and no encryption. Only the one with the right authentication key can create messages with this security level, but anyone can read the contents of the message. The value 3 means: Authentication and encryption. Only the one with the right authentication key can create messages with this security level, and only the one with the right encryption\/decryption key can read the contents of the message. One of: [1] [2] [3]",
"defaultValue": "3",
"priority": "MEDIUM",
"required": "false",
"enum": [
"1",
"2",
"3"
]
},
"camel.source.endpoint.securityName": {
"name": "camel.source.endpoint.securityName",
"description": "Sets the security name to be used with this target.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.snmp.bridgeErrorHandler": {
"name": "camel.component.snmp.bridgeErrorHandler",
"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.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.snmp.autowiredEnabled": {
"name": "camel.component.snmp.autowiredEnabled",
"description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
}
}
}