org.kasource.spring.nats.spring-nats.xsd Maven / Gradle / Ivy
This element configures the NATS connection
Enable TLS, default false.
The spring resource location url to the trust store to use, not settings this attribute will trust all known CA:s
The password for the trust store if used.
The spring resource location url to the identity store to use (containing the client certificate), will enable mutual TLS.
The password for the identity store if used.
The JWT token to use (base64)
The N Key to use (base64)
The Bean ID to use. Default value is springNatsConnection
URLs to the NATS Server. Default value is nats://localhost:4222, supports comma separated list of URLs.
The number of seconds before timing out a connection attempt.
The number of seconds to wait while draining messages before closing a consumer.
The maximum number of reconnects before failing, -1 for infinite reconnects.
Optional connection name.
Bean name of a io.nats.client.ConnectionListener to use
Bean name of io.nats.client.ErrorListener to use
The username to connect as. Note that the password attribute needs to be set.
The password used for the connection. Note that the username attribute needs to be set.
URL to the NATS Server. Default value is nats://localhost:4222, supports comma separated list of URLs.
Is mutually exclusive with the connection attribute, if connection is set this attribute is ignored.
Override the connection bean by using a <nats:connection/> tag, this allow for more configuration options,
is mutually exclusive with the connection-url attribute.
The bean name of the object validator to use when validating objects.
The bean name of the Micrometer meter registry to use. If not set, a bean of type io.micrometer.core.instrument.MeterRegistry is expected to be found in Application Context.
Enable metrics, Micro Meter metrics can be disbaled by settings this to false.
Decide whether to auto start all consumers or not. If set to true the start method must be invoked on
the NatsConsumerManager in order to start consuming messages.
This element configures Spring NATS for custom serialization / de-serialization.
Bean name of the custom ser-de factory to use.
This element configures Spring NATS for Jackson (fasterXML) JSON
The bean name of the object mapper to use. Default will lookup the ObjectMapper in the ApplicationContext
via type.
Enables json schema validation, requires the dependency se.hiq.oss:json-schema-discovery on the classpath.
Set the base package to scan for classes that are annotated with @org.kasource.json.schema.JsonSchema, supports
comma separated list of base packages.
This element configures Spring NATS for Gson JSON
The bean name of the Gson instance to use. Default will lookup the Gson in the ApplicationContext
via type.
This element configures Spring NATS for plain Java serialization and de-serialization.
This element configures Spring NATS for Google Protocal Buffers serialization and de-serialization.
This element configures Spring NATS for Thrift serialization and de-serialization.
This element configures Spring NATS for Avro serialization and de-serialization.
This element configures Spring NATS for Avro serialization and de-serialization.
This element configures Spring NATS for Avro serialization and de-serialization.
Bean name of the KryoFactory to use (overrides the default one).
© 2015 - 2025 Weber Informatics LLC | Privacy Policy