blob: ff8ecb98e0abedc603ff2860592684a5bf4f66df [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.websocket.CamelWebsocketSourceConnector",
"artifactId": "camel-websocket-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-websocket-source",
"type": "source",
"version": "0.7.2",
"description": "Expose websocket endpoints using Jetty."
},
"properties": {
"camel.source.path.host": {
"name": "camel.source.path.host",
"description": "The hostname. The default value is 0.0.0.0. Setting this option on the component will use the component configured value as default.",
"defaultValue": "\"0.0.0.0\"",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.path.port": {
"name": "camel.source.path.port",
"description": "The port number. The default value is 9292. Setting this option on the component will use the component configured value as default.",
"defaultValue": "\"9292\"",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.path.resourceUri": {
"name": "camel.source.path.resourceUri",
"description": "Name of the websocket channel to use",
"priority": "HIGH",
"required": "true"
},
"camel.source.endpoint.maxBinaryMessageSize": {
"name": "camel.source.endpoint.maxBinaryMessageSize",
"description": "Can be used to set the size in bytes that the websocket created by the websocketServlet may be accept before closing. (Default is -1 - or unlimited)",
"defaultValue": "\"-1\"",
"priority": "MEDIUM",
"required": "false"
},
"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.sessionSupport": {
"name": "camel.source.endpoint.sessionSupport",
"description": "Whether to enable session support which enables HttpSession for each http request.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.staticResources": {
"name": "camel.source.endpoint.staticResources",
"description": "Set a resource path for static resources (such as .html files etc). The resources can be loaded from classpath, if you prefix with classpath:, otherwise the resources is loaded from file system or from JAR files. For example to load from root classpath use classpath:., or classpath:WEB-INF\/static If not configured (eg null) then no static resource is in use.",
"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.bufferSize": {
"name": "camel.source.endpoint.bufferSize",
"description": "Set the buffer size of the websocketServlet, which is also the max frame byte size (default 8192)",
"defaultValue": "\"8192\"",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.maxIdleTime": {
"name": "camel.source.endpoint.maxIdleTime",
"description": "Set the time in ms that the websocket created by the websocketServlet may be idle before closing. (default is 300000)",
"defaultValue": "\"300000\"",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.maxTextMessageSize": {
"name": "camel.source.endpoint.maxTextMessageSize",
"description": "Can be used to set the size in characters that the websocket created by the websocketServlet may be accept before closing.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.minVersion": {
"name": "camel.source.endpoint.minVersion",
"description": "Can be used to set the minimum protocol version accepted for the websocketServlet. (Default 13 - the RFC6455 version)",
"defaultValue": "\"13\"",
"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.allowedOrigins": {
"name": "camel.source.endpoint.allowedOrigins",
"description": "The CORS allowed origins. Use to allow all.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.crossOriginFilterOn": {
"name": "camel.source.endpoint.crossOriginFilterOn",
"description": "Whether to enable CORS",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.filterPath": {
"name": "camel.source.endpoint.filterPath",
"description": "Context path for filtering CORS",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.enableJmx": {
"name": "camel.source.endpoint.enableJmx",
"description": "If this option is true, Jetty JMX support will be enabled for this endpoint. See Jetty JMX support for more details.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.sslContextParameters": {
"name": "camel.source.endpoint.sslContextParameters",
"description": "To configure security using SSLContextParameters",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.websocket.host": {
"name": "camel.component.websocket.host",
"description": "The hostname. The default value is 0.0.0.0",
"defaultValue": "\"0.0.0.0\"",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.websocket.port": {
"name": "camel.component.websocket.port",
"description": "The port number. The default value is 9292",
"defaultValue": "\"9292\"",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.websocket.bridgeErrorHandler": {
"name": "camel.component.websocket.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.websocket.staticResources": {
"name": "camel.component.websocket.staticResources",
"description": "Set a resource path for static resources (such as .html files etc). The resources can be loaded from classpath, if you prefix with classpath:, otherwise the resources is loaded from file system or from JAR files. For example to load from root classpath use classpath:., or classpath:WEB-INF\/static If not configured (eg null) then no static resource is in use.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.websocket.autowiredEnabled": {
"name": "camel.component.websocket.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"
},
"camel.component.websocket.enableJmx": {
"name": "camel.component.websocket.enableJmx",
"description": "If this option is true, Jetty JMX support will be enabled for this endpoint. See Jetty JMX support for more details.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.websocket.maxThreads": {
"name": "camel.component.websocket.maxThreads",
"description": "To set a value for maximum number of threads in server thread pool. MaxThreads\/minThreads or threadPool fields are required due to switch to Jetty9. The default values for maxThreads is 1 2 noCores.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.websocket.minThreads": {
"name": "camel.component.websocket.minThreads",
"description": "To set a value for minimum number of threads in server thread pool. MaxThreads\/minThreads or threadPool fields are required due to switch to Jetty9. The default values for minThreads is 1.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.websocket.threadPool": {
"name": "camel.component.websocket.threadPool",
"description": "To use a custom thread pool for the server. MaxThreads\/minThreads or threadPool fields are required due to switch to Jetty9.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.websocket.sslContextParameters": {
"name": "camel.component.websocket.sslContextParameters",
"description": "To configure security using SSLContextParameters",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.websocket.sslKeyPassword": {
"name": "camel.component.websocket.sslKeyPassword",
"description": "The password for the keystore when using SSL.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.websocket.sslKeystore": {
"name": "camel.component.websocket.sslKeystore",
"description": "The path to the keystore.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.websocket.sslPassword": {
"name": "camel.component.websocket.sslPassword",
"description": "The password when using SSL.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.websocket.useGlobalSslContextParameters": {
"name": "camel.component.websocket.useGlobalSslContextParameters",
"description": "Enable usage of global SSL context parameters.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
}
}
}