Interface XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
XmppEndpointBuilderFactory.AdvancedXmppEndpointBuilder
- Enclosing interface:
- XmppEndpointBuilderFactory
public static interface XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the XMPP component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default XmppEndpointBuilderFactory.XmppEndpointProducerBuilder
basic()
default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder
connectionConfig(String connectionConfig)
To use an existing connection configuration.default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder
connectionConfig(org.jivesoftware.smack.ConnectionConfiguration connectionConfig)
To use an existing connection configuration.default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder
createAccount(boolean createAccount)
If true, an attempt to create an account will be made.default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder
createAccount(String createAccount)
If true, an attempt to create an account will be made.default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder
resource(String resource)
XMPP resource.
-
-
-
Method Detail
-
basic
default XmppEndpointBuilderFactory.XmppEndpointProducerBuilder basic()
-
createAccount
default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder createAccount(boolean createAccount)
If true, an attempt to create an account will be made. Default is false. The option is a: <code>boolean</code> type. Default: false Group: common (advanced)- Parameters:
createAccount
- the value to set- Returns:
- the dsl builder
-
createAccount
default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder createAccount(String createAccount)
If true, an attempt to create an account will be made. Default is false. The option will be converted to a <code>boolean</code> type. Default: false Group: common (advanced)- Parameters:
createAccount
- the value to set- Returns:
- the dsl builder
-
resource
default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder resource(String resource)
XMPP resource. The default is Camel. The option is a: <code>java.lang.String</code> type. Default: Camel Group: common (advanced)- Parameters:
resource
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
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. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
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. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
connectionConfig
default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder connectionConfig(org.jivesoftware.smack.ConnectionConfiguration connectionConfig)
To use an existing connection configuration. Currently org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration is only supported (XMPP over TCP). The option is a: <code>org.jivesoftware.smack.ConnectionConfiguration</code> type. Group: advanced- Parameters:
connectionConfig
- the value to set- Returns:
- the dsl builder
-
connectionConfig
default XmppEndpointBuilderFactory.AdvancedXmppEndpointProducerBuilder connectionConfig(String connectionConfig)
To use an existing connection configuration. Currently org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration is only supported (XMPP over TCP). The option will be converted to a <code>org.jivesoftware.smack.ConnectionConfiguration</code> type. Group: advanced- Parameters:
connectionConfig
- the value to set- Returns:
- the dsl builder
-
-