Delivery options allow to configure delivery timeout and message codec name, and to provide any headers that you wish to send with the message.
Name |
Type |
Description |
|
Set the codec name. |
|
|
Set the send timeout. |
Name |
Type |
Description |
|
Set the TCP receive buffer size |
|
|
Set the value of reuse address |
|
|
Set the TCP send buffer size |
|
|
Set the value of traffic class |
Name |
Type |
Description |
|
Set whether the file should be created if it does not already exist. |
|
|
Set whether the file should be created and fail if it does exist already. |
|
|
Set whether the file should be deleted when it's closed, or the JVM is shutdown. |
|
|
Set whether every write to the file's content ill be written synchronously to the underlying hardware. |
|
|
Set the permissions string |
|
|
Set whether the file is to be opened for reading |
|
|
Set whether a hint should be provided that the file to created is sparse |
|
|
Set whether every write to the file's content and meta-data will be written synchronously to the underlying hardware. |
|
|
Set whether the file should be truncated to zero length on opening if it exists and is opened for write |
|
|
Set whether the file is to be opened for writing |
When used as a key store, it should point to a store containing a private key and its certificate. When used as a trust store, it should point to a store containing a list of trusted certificates.
The store can either be loaded by Vert.x from the filesystem:
HttpServerOptions options = HttpServerOptions.httpServerOptions(); options.setKeyStore(JKSOptions.options().setPath("/mykeystore.jks").setPassword("foo"));Or directly provided as a buffer:
Buffer store = vertx.fileSystem().readFileSync("/mykeystore.jks"); options.setKeyStore(JKSOptions.options().setValue(store).setPassword("foo"));
Name |
Type |
Description |
|
Set the password for the key store |
|
|
Set the path to the key store |
|
|
Set the key store as a buffer |
Name |
Type |
Description |
|
Sets the value of blocked thread check period, in ms. |
|
|
Set the hostname to be used for clustering. |
|
|
Set the value of cluster ping interval, in ms. |
|
|
Set the value of cluster ping reply interval, in ms. |
|
|
Set the port to be used for clustering. |
|
|
Set the public facing hostname to be used for clustering. Sometimes, e.g. when running on certain clouds, the local address the server listens on for clustering is not the same address that other nodes connect to it at, as the OS / cloud infrastructure does some kind of proxying. If this is the case you can specify a public hostname which is different from the hostname the server listens at. The default value is null which means use the same as the cluster hostname. |
|
|
See link for an explanation. |
|
|
Set whether or not the Vert.x instance will be clustered. |
|
|
Set the number of event loop threads to be used by the Vert.x instance. |
|
|
Set whether HA will be enabled on the Vert.x instance. |
|
|
Set the HA group to be used when HA is enabled. |
|
|
Set the value of internal blocking pool size |
|
|
Sets the value of max event loop execute time, in ns. |
|
|
Sets the value of max worker execute time, in ns. |
|
Set the metrics options |
||
|
Set the quorum size to be used when HA is enabled. |
|
|
Set the threshold value above this, the blocked warning contains a stack trace. |
|
|
Set the maximum number of worker threads to be used by the Vert.x instance. |
Name |
Type |
Description |
|
Sets the argument name of this link. |
|
|
Sets the default value of this link. |
|
|
Sets the description of the link. |
|
|
|
Sets whether or not the current link is hidden. |
|
Sets the argument index. |
|
|
Sets whether or not the argument can receive several values. Only the last argument can receive several values. |
|
|
Sets whether or not the current link is required. |
Name |
Type |
Description |
|
Set the connect timeout |
|
|
Add a CRL path |
|
|
Add a CRL value |
|
|
Add an enabled cipher suite |
|
|
Set the idle timeout, in seconds. zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout. |
|
Set the key/cert options in jks format, aka Java keystore. |
||
Set the key/cert store options in pem format. |
||
Set the trust options in pem format |
||
Set the key/cert options in pfx format. |
||
Set the trust options in pfx format |
||
|
Set the TCP receive buffer size |
|
|
Set the value of reconnect attempts |
|
|
Set the reconnect interval |
|
|
Set the value of reuse address |
|
|
Set the TCP send buffer size |
|
|
Set whether SO_linger keep alive is enabled |
|
|
Set whether SSL/TLS is enabled |
|
|
Set whether TCP keep alive is enabled |
|
|
Set whether TCP no delay is enabled |
|
|
Set the value of traffic class |
|
|
Set whether all server certificates should be trusted |
|
Set the trust options in jks format, aka Java trustore |
||
|
Set whether Netty pooled buffers are enabled |
When used as a key store, it should point to a store containing a private key and its certificate. When used as a trust store, it should point to a store containing a list of accepted certificates.
The store can either be loaded by Vert.x from the filesystem:
HttpServerOptions options = new HttpServerOptions(); options.setPfxKeyCertOptions(new PfxOptions().setPath("/mykeystore.p12").setPassword("foo"));Or directly provided as a buffer:
Buffer store = vertx.fileSystem().readFileSync("/mykeystore.p12"); options.setPfxKeyCertOptions(new PfxOptions().setValue(store).setPassword("foo"));
Name |
Type |
Description |
|
Set the password |
|
|
Set the path |
|
|
Set the store as a buffer |
Short name is generally used with a single dash, while long name requires a double-dash.
Name |
Type |
Description |
|
Sets te arg name for this option. |
|
|
Adds a choice to the list of values accepted by this option. If the value set by the user does not match once of these values, a link exception is thrown. |
|
|
Sets the default value of this option |
|
|
Sets te description of this option. |
|
|
Configures the current link to be a flag. It will be evaluated to
|
|
|
Sets whether or not this option is a "help" option |
|
|
|
Sets whether or not this option should be hidden |
|
Sets the long name of this option. |
|
|
Sets whether or not this option can receive several values. |
|
|
Sets whether or not this option is mandatory. |
|
|
Sets the short name of this option. |
|
|
Sets whether or not this option can receive a value. |
Name |
Type |
Description |
|
Set the accept back log |
|
Set whether client auth is required |
||
|
Set whether client auth is required |
|
|
Add a CRL path |
|
|
Add a CRL value |
|
|
Add an enabled cipher suite |
|
|
Set the host |
|
|
Set the idle timeout, in seconds. zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout. |
|
Set the key/cert options in jks format, aka Java keystore. |
||
Set the key/cert store options in pem format. |
||
Set the trust options in pem format |
||
Set the key/cert options in pfx format. |
||
Set the trust options in pfx format |
||
|
Set the port |
|
|
Set the TCP receive buffer size |
|
|
Set the value of reuse address |
|
|
Set the TCP send buffer size |
|
|
Set whether SO_linger keep alive is enabled |
|
|
Set whether SSL/TLS is enabled |
|
|
Set whether TCP keep alive is enabled |
|
|
Set whether TCP no delay is enabled |
|
|
Set the value of traffic class |
|
Set the trust options in jks format, aka Java trustore |
||
|
Set whether Netty pooled buffers are enabled |
Name |
Type |
Description |
|
Set the connect timeout |
|
|
Add a CRL path |
|
|
Add a CRL value |
|
|
Add an enabled cipher suite |
|
|
Set the idle timeout, in seconds. zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout. |
|
Set the key/cert options in jks format, aka Java keystore. |
||
Set the key/cert store options in pem format. |
||
Set the trust options in pem format |
||
Set the key/cert options in pfx format. |
||
Set the trust options in pfx format |
||
|
Set the TCP receive buffer size |
|
|
Set the value of reuse address |
|
|
Set the TCP send buffer size |
|
|
Set whether SO_linger keep alive is enabled |
|
|
Set whether SSL/TLS is enabled |
|
|
Set whether TCP keep alive is enabled |
|
|
Set whether TCP no delay is enabled |
|
|
Set the value of traffic class |
|
|
Set whether all server certificates should be trusted |
|
Set the trust options in jks format, aka Java trustore |
||
|
Set whether Netty pooled buffers are enabled |
Name |
Type |
Description |
|
Set the JSON configuration that will be passed to the verticle(s) when it's deployed |
|
|
Set any extra classpath to be used when deploying the verticle. Ignored if no isolation group is set. |
|
|
Set whether the verticle(s) will be deployed as HA. |
|
|
Set the number of instances that should be deployed. |
|
|
Set the isolated class names. |
|
|
Set the isolation group that will be used when deploying the verticle(s) |
|
|
Set whether the verticle(s) should be deployed as a multi-threaded worker verticle |
|
|
Set whether the verticle(s) should be deployed as a worker verticle |
The key file must contain a non encrypted private key in PKCS8 format wrapped in a PEM block, for example:
-----BEGIN PRIVATE KEY----- MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDV6zPk5WqLwS0a ... K5xBhtm1AhdnZjx5KfW3BecE -----END PRIVATE KEY-----
The certificate file must contain an X.509 certificate wrapped in a PEM block, for example:
-----BEGIN CERTIFICATE----- MIIDezCCAmOgAwIBAgIEZOI/3TANBgkqhkiG9w0BAQsFADBuMRAwDgYDVQQGEwdV ... +tmLSvYS39O2nqIzzAUfztkYnUlZmB0l/mKkVqbGJA== -----END CERTIFICATE-----The key and certificate can either be loaded by Vert.x from the filesystem:
HttpServerOptions options = new HttpServerOptions(); options.setPemKeyCertOptions(new PemKeyCertOptions().setKeyPath("/mykey.pem").setCertPath("/mycert.pem"));Or directly provided as a buffer:
Buffer key = vertx.fileSystem().readFileSync("/mykey.pem"); Buffer cert = vertx.fileSystem().readFileSync("/mycert.pem"); options.setPemKeyCertOptions(new PemKeyCertOptions().setKeyValue(key).setCertValue(cert));
Name |
Type |
Description |
|
Set the path to the certificate |
|
|
Set the certificate as a buffer |
|
|
Set the path to the key file |
|
|
Set the key a a buffer |
Name |
Type |
Description |
|
Set the accept back log |
|
Set whether client auth is required |
||
|
Set whether client auth is required |
|
|
Set whether the server supports compression |
|
|
Add a CRL path |
|
|
Add a CRL value |
|
|
Add an enabled cipher suite |
|
|
Set whether 100 Continue should be handled automatically |
|
|
Set the host |
|
|
Set the idle timeout, in seconds. zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout. |
|
Set the key/cert options in jks format, aka Java keystore. |
||
|
Set the maximum websocket frames size |
|
Set the key/cert store options in pem format. |
||
Set the trust options in pem format |
||
Set the key/cert options in pfx format. |
||
Set the trust options in pfx format |
||
|
Set the port |
|
|
Set the TCP receive buffer size |
|
|
Set the value of reuse address |
|
|
Set the TCP send buffer size |
|
|
Set whether SO_linger keep alive is enabled |
|
|
Set whether SSL/TLS is enabled |
|
|
Set whether TCP keep alive is enabled |
|
|
Set whether TCP no delay is enabled |
|
|
Set the value of traffic class |
|
Set the trust options in jks format, aka Java trustore |
||
|
Set whether Netty pooled buffers are enabled |
|
|
Set the websocket subprotocols supported by the server. |
Name |
Type |
Description |
|
Set the connect timeout |
|
|
Add a CRL path |
|
|
Add a CRL value |
|
|
Set the default host name to be used by this client in requests if none is provided when making the request. |
|
|
Set the default port to be used by this client in requests if none is provided when making the request. |
|
|
Add an enabled cipher suite |
|
|
Set the idle timeout, in seconds. zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout. |
|
|
Set whether keep alive is enabled on the client |
|
Set the key/cert options in jks format, aka Java keystore. |
||
|
Set the maximum pool size for connections |
|
|
Set the max websocket frame size |
|
Set the key/cert store options in pem format. |
||
Set the trust options in pem format |
||
Set the key/cert options in pfx format. |
||
Set the trust options in pfx format |
||
|
Set whether pipe-lining is enabled on the client |
|
Set the protocol version. |
||
|
Set the TCP receive buffer size |
|
|
Set the value of reuse address |
|
|
Set the TCP send buffer size |
|
|
Set whether SO_linger keep alive is enabled |
|
|
Set whether SSL/TLS is enabled |
|
|
Set whether TCP keep alive is enabled |
|
|
Set whether TCP no delay is enabled |
|
|
Set the value of traffic class |
|
|
Set whether all server certificates should be trusted |
|
Set the trust options in jks format, aka Java trustore |
||
|
Set whether compression is enabled |
|
|
Set whether Netty pooled buffers are enabled |
|
|
Set whether hostname verification is enabled |
Name |
Type |
Description |
|
Set if the socket can receive broadcast packets |
|
|
Set if IP v6 should be used |
|
|
Set if loopback mode is disabled |
|
|
Set the multicast network interface address |
|
|
Set the multicast ttl value |
|
|
Set the TCP receive buffer size |
|
|
Set the value of reuse address |
|
|
Set the TCP send buffer size |
|
|
Set the value of traffic class |
Validating certificates must contain X.509 certificates wrapped in a PEM block:
-----BEGIN CERTIFICATE----- MIIDezCCAmOgAwIBAgIEVmLkwTANBgkqhkiG9w0BAQsFADBuMRAwDgYDVQQGEwdV ... z5+DuODBJUQst141Jmgq8bS543IU/5apcKQeGNxEyQ== -----END CERTIFICATE-----The certificates can either be loaded by Vert.x from the filesystem:
HttpServerOptions options = new HttpServerOptions(); options.setPemTrustOptions(new PemTrustOptions().addCertPath("/cert.pem"));Or directly provided as a buffer:
Buffer cert = vertx.fileSystem().readFileSync("/cert.pem"); HttpServerOptions options = new HttpServerOptions(); options.setPemTrustOptions(new PemTrustOptions().addCertValue(cert));
Name |
Type |
Description |
|
Add a certificate path |
|
|
Add a certificate value |
Name |
Type |
Description |
|
Add a CRL path |
|
|
Add a CRL value |
|
|
Add an enabled cipher suite |
|
|
Set the idle timeout, in seconds. zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout. |
|
Set the key/cert options in jks format, aka Java keystore. |
||
Set the key/cert store options in pem format. |
||
Set the trust options in pem format |
||
Set the key/cert options in pfx format. |
||
Set the trust options in pfx format |
||
|
Set the TCP receive buffer size |
|
|
Set the value of reuse address |
|
|
Set the TCP send buffer size |
|
|
Set whether SO_linger keep alive is enabled |
|
|
Set whether SSL/TLS is enabled |
|
|
Set whether TCP keep alive is enabled |
|
|
Set whether TCP no delay is enabled |
|
|
Set the value of traffic class |
|
Set the trust options in jks format, aka Java trustore |
||
|
Set whether Netty pooled buffers are enabled |