Interface StompEndpointBuilderFactory.StompEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
StompEndpointBuilderFactory.StompEndpointBuilder
- Enclosing interface:
- StompEndpointBuilderFactory
public static interface StompEndpointBuilderFactory.StompEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Stomp component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default StompEndpointBuilderFactory.AdvancedStompEndpointConsumerBuilder
advanced()
default StompEndpointBuilderFactory.StompEndpointConsumerBuilder
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 StompEndpointBuilderFactory.StompEndpointConsumerBuilder
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 StompEndpointBuilderFactory.StompEndpointConsumerBuilder
brokerURL(String brokerURL)
The URI of the Stomp broker to connect to.default StompEndpointBuilderFactory.StompEndpointConsumerBuilder
customHeaders(String customHeaders)
To set custom headers.default StompEndpointBuilderFactory.StompEndpointConsumerBuilder
customHeaders(Properties customHeaders)
To set custom headers.default StompEndpointBuilderFactory.StompEndpointConsumerBuilder
host(String host)
The virtual host name.default StompEndpointBuilderFactory.StompEndpointConsumerBuilder
login(String login)
The username.default StompEndpointBuilderFactory.StompEndpointConsumerBuilder
passcode(String passcode)
The password.default StompEndpointBuilderFactory.StompEndpointConsumerBuilder
sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters.default StompEndpointBuilderFactory.StompEndpointConsumerBuilder
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.default StompEndpointBuilderFactory.StompEndpointConsumerBuilder
version(String version)
The stomp version (1.1, or 1.2).
-
-
-
Method Detail
-
advanced
default StompEndpointBuilderFactory.AdvancedStompEndpointConsumerBuilder advanced()
-
brokerURL
default StompEndpointBuilderFactory.StompEndpointConsumerBuilder brokerURL(String brokerURL)
The URI of the Stomp broker to connect to. The option is a: <code>java.lang.String</code> type. Required: true Default: tcp://localhost:61613 Group: common- Parameters:
brokerURL
- the value to set- Returns:
- the dsl builder
-
customHeaders
default StompEndpointBuilderFactory.StompEndpointConsumerBuilder customHeaders(Properties customHeaders)
To set custom headers. The option is a: <code>java.util.Properties</code> type. Group: common- Parameters:
customHeaders
- the value to set- Returns:
- the dsl builder
-
customHeaders
default StompEndpointBuilderFactory.StompEndpointConsumerBuilder customHeaders(String customHeaders)
To set custom headers. The option will be converted to a <code>java.util.Properties</code> type. Group: common- Parameters:
customHeaders
- the value to set- Returns:
- the dsl builder
-
host
default StompEndpointBuilderFactory.StompEndpointConsumerBuilder host(String host)
The virtual host name. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
host
- the value to set- Returns:
- the dsl builder
-
version
default StompEndpointBuilderFactory.StompEndpointConsumerBuilder version(String version)
The stomp version (1.1, or 1.2). The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
version
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default StompEndpointBuilderFactory.StompEndpointConsumerBuilder 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 StompEndpointBuilderFactory.StompEndpointConsumerBuilder 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
-
login
default StompEndpointBuilderFactory.StompEndpointConsumerBuilder login(String login)
The username. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
login
- the value to set- Returns:
- the dsl builder
-
passcode
default StompEndpointBuilderFactory.StompEndpointConsumerBuilder passcode(String passcode)
The password. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
passcode
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default StompEndpointBuilderFactory.StompEndpointConsumerBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters. The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default StompEndpointBuilderFactory.StompEndpointConsumerBuilder sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters. The option will be converted to a <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
-