Interface JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointBuilder
- Enclosing interface:
- JSR356WebSocketEndpointBuilderFactory
public static interface JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Javax Websocket component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default JSR356WebSocketEndpointBuilderFactory.AdvancedJSR356WebSocketEndpointConsumerBuilder
advanced()
default JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointConsumerBuilder
bridgeErrorHandler(boolean bridgeErrorHandler)
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.default JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointConsumerBuilder
bridgeErrorHandler(String bridgeErrorHandler)
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.default JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointConsumerBuilder
sessionCount(int sessionCount)
Used when the endpoint is in client mode to populate a pool of sessions.default JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointConsumerBuilder
sessionCount(String sessionCount)
Used when the endpoint is in client mode to populate a pool of sessions.
-
-
-
Method Detail
-
advanced
default JSR356WebSocketEndpointBuilderFactory.AdvancedJSR356WebSocketEndpointConsumerBuilder advanced()
-
sessionCount
default JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointConsumerBuilder sessionCount(int sessionCount)
Used when the endpoint is in client mode to populate a pool of sessions. The option is a: <code>int</code> type. Default: 1 Group: common- Parameters:
sessionCount
- the value to set- Returns:
- the dsl builder
-
sessionCount
default JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointConsumerBuilder sessionCount(String sessionCount)
Used when the endpoint is in client mode to populate a pool of sessions. The option will be converted to a <code>int</code> type. Default: 1 Group: common- Parameters:
sessionCount
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
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. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default JSR356WebSocketEndpointBuilderFactory.JSR356WebSocketEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
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. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
-