...
Property Name | Default Value | Description | ||||||
---|---|---|---|---|---|---|---|---|
set_bus_and_channel_on_receipt | false | Controls whether the bus and channel name are set on received messages. Setting the channel and bus name on inbound messages incurs performance overhead. Performance sensitive applications should avoid enabling this property. | ||||||
set_key_on_receipt | false | Controls whether the message key is set on received messages. Not all binding implementations transport the key on the wire, this property has no effect for bindings that don't transport the key. Setting the key on inbound messages incurs a performance overhead. Performance sensitive applications should avoid enabling this property. | ||||||
topic_starts_with_channel | true | Controls whether topic names start with the channel name for the bus. For bus bindings that support topic routing this property controls whether or not the resolved key is prefixed with the channel name. | ||||||
enable_concurrent_sends | false | Controls whether sends through the message bus binding can be performed concurrently using multiple threads | ||||||
additional_properties_file | false | Specifies the path to an external file that is used to load additional bus configuration properties. The external file format is a plain java Properties file. Properties specified in the external file will be merged into configuration property set for the bus. This file is loaded at runtime, so the file is retrieved from the local file system on the host where the configured XVM will run. |
...
Code Block |
---|
<model> <!-- Apps will reference the buses they use in their messaging config --> <apps> <app name="sample-app" mainClass="com.sample.SampleApp"> <messaging> ... <messaging> <!-- <sequenceUnsolicitedWithSolicitedSends>true</sequenceUnsolicitedWithSolicitedSends> </app> </apps> </model> |
Configuration Summary
The following table summarizes how to configure the X runtime for concurrent sends for the various concurrency scenarios
Solicited Sends | Concurrent Unsolicited Sends | Sequence Number in Solicited Sends | Sequence Number in Unsolicited Sends | Configuration |
---|---|---|---|---|
No | Yes | N/A | Yes or No | enable_concurrent_sends |
Yes | Yes | Yes | No | enable_concurrent_sends |
Yes | Yes | No | Yes | enable_concurrent_sends |
Yes | Yes | No | No | enable_concurrent_sends |
Yes | Yes | Yes | Yes | sequenceUnsolicitedWithSolicitedSends |
Creating Messages For Send
...