Configuration Guide
|
The options described in this section are for queuing, and are invalid for users of the UMS (streaming-only) and UMP (streaming and persistent) products.
See the Guide for Queuing for more information.
Scope: | context |
Type: | lbm_ulong_t |
Units: | milliseconds |
Default value: | 500 (0.5 seconds) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 3.6/UME 3.0/UMQ 1.0. |
Scope: | context |
Type: | lbm_uint32_t |
Units: | number of outstanding commands |
Default value: | 1000 |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in UMQ 5.3.1. |
Scope: | receiver |
Type: | lbm_ulong_t |
Units: | milliseconds |
Default value: | 0 |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | receiver |
Type: | lbm_ulong_t |
Units: | milliseconds |
Default value: | 10000 (10 seconds) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 3.6/UME 3.0/UMQ 1.0. |
Scope: | receiver |
Type: | int |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.2/UME 3.2/UMQ 1.2 |
String value | Integer value | Description |
---|---|---|
"Eligible" | LBM_RCV_TOPIC_ATTR_UMQ_INDEX_ASSIGN_ELIGIBILITY_ELIGIBLE | The receiver may be assigned indices as soon as it registers with a queue. Default for all. |
"Ineligible" | LBM_RCV_TOPIC_ATTR_UMQ_INDEX_ASSIGN_ELIGIBILITY_INELIGIBLE | The receiver must first call lbm_rcv_umq_index_start_assignment() before it can be assigned any indices. |
Scope: | source |
Type: | int |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 3.6/UME 3.0/UMQ 1.0. |
Value | Description |
---|---|
1 | The source wishes to receive message stability notification. Default for all. |
0 | The source does not wish to receive message stability notifications. |
Scope: | source |
Type: | lbm_ulong_t |
Units: | milliseconds |
Default value: | 0 (disable lifetime) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.2 / UME 3.2 / UMQ 2.1 |
Scope: | context |
Type: | lbm_ulong_t |
Units: | milliseconds |
Default value: | 3000 (3.0 seconds) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 3.6/UME 3.0/UMQ 1.0. |
Scope: | receiver |
Type: | int |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 3.6/UME 3.0/UMQ 1.0. |
String value | Integer value | Description |
---|---|---|
"1" | 1 | The receiver desires to participate in Queuing operations. Default for all. |
"0" | 0 | The receiver does not wish to participate in Queuing operations. |
optlen
parameter should be set as: optlen = (max_num_regid_broker_pairs * sizeof(lbm_umq_queue_entry_t));
Scope: | context |
Type: | lbm_umq_queue_entry_t |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 3.6/UME 3.0/UMQ 1.0. |
Scope: | receiver |
Type: | lbm_uint_t |
Units: | identifier |
Default value: | 0 |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 3.6/UME 3.0/UMQ 1.0. |
Scope: | receiver |
Type: | lbm_ulong_t |
Units: | milliseconds |
Default value: | 500 (0.5 seconds) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 3.6/UME 3.0/UMQ 1.0. |
Scope: | receiver |
Type: | lbm_ulong_t |
Units: | messages |
Default value: | 100 |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 3.6/UME 3.0/UMQ 1.0. |
Scope: | context |
Type: | lbm_uint64_t |
Default value: | 0 (no session ID) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in UMQ 5.3. |
Scope: | source |
Type: | lbm_umq_ulb_receiver_type_entry_t |
Default value: | empty (at least one is required) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | source |
Type: | lbm_umq_ulb_application_set_attr_t |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
String value | Integer value | Description |
---|---|---|
"default" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_ASSIGNMENT_DEFAULT | The default assignment function. Default for all. |
"random" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_ASSIGNMENT_RANDOM | Randomized assignment function. |
Scope: | source |
Type: | lbm_umq_ulb_application_set_attr_t |
Default value: | empty (all application sets have a mask of 0) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | source |
Type: | lbm_umq_ulb_application_set_attr_t |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
String value | Integer value | Description |
---|---|---|
"ignored" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_LF_BEHAVIOR_IGNORED | Load Factor information not sent and not processed or taken into assignment consideration. Default for all. |
"provisioned" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_LF_BEHAVIOR_PROVISIONED | Load Factor information on number of sources sent and processed as well as taken into consideration to reduce the active portion size for each receiver. |
"dynamic" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_LF_BEHAVIOR_DYNAMIC | Load Factor information sent and processed as well as taken into consideration during assignment to weight receiver choice. |
Scope: | source |
Type: | lbm_umq_ulb_application_set_attr_t |
Default value: | empty (all application sets have a timeout of 0 [forever]) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | source |
Type: | lbm_umq_ulb_application_set_attr_t |
Default value: | empty (all application sets have a maximum 0 [never discard due to reassignment]) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | source |
Type: | lbm_umq_ulb_application_set_attr_t |
Default value: | empty (all application sets have a timeout of 10000 [10 sec]) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | source |
Type: | lbm_umq_ulb_application_set_attr_t |
Default value: | empty (all application sets have a timeout of 10000 [10 sec]) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | source |
Type: | lbm_umq_ulb_application_set_attr_t |
Default value: | empty (all application sets have a timeout of 1000 [1 sec]) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | source |
Type: | lbm_umq_ulb_application_set_attr_t |
Default value: | 1 |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | source |
Type: | unsigned long int |
Units: | milliseconds |
Default value: | 1000 (1 second) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | source |
Type: | lbm_ulong_t |
Units: | mask |
Default value: | 0 |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
String value | Integer value | Description |
---|---|---|
"MSG_CONSUME", "MsgConsume" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_EVENT_MSG_CONSUME (0x1) | Deliver message consumption events. |
"MSG_TIMEOUT", "MsgTimeout" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_EVENT_MSG_TIMEOUT (0x2) | Deliver message timeout/discard events. |
"MSG_ASSIGNMENT", "MsgAssignment" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_EVENT_MSG_ASSIGNMENT (0x4) | Deliver message assignment events. |
"MSG_REASSIGNMENT", "MsgReassignment" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_EVENT_MSG_REASSIGNMENT (0x8) | Deliver message reassignment events. |
"MSG_COMPLETE", "MsgComplete" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_EVENT_MSG_COMPLETE (0x10) | Deliver message completion events. Messages are complete once they are consumed or discarded from all application sets. |
"RCV_TIMEOUT", "RcvTimeout" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_EVENT_RCV_TIMEOUT (0x20) | Deliver receiver timeout events. |
"RCV_REGISTRATION", "RcvRegistration" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_EVENT_RCV_REGISTRATION (0x40) | Deliver receiver registration events. |
"RCV_DEREGISTRATION", "RcvDeregistration" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_EVENT_RCV_DEREGISTRATION (0x80) | Deliver receiver deregistration events. |
"RCV_READY", "RcvReady" | LBM_SRC_TOPIC_ATTR_UMQ_ULB_EVENT_RCV_READY (0x100) | Deliver receiver ready events. |
Scope: | source |
Type: | unsigned int |
Units: | messages |
Default value: | 1000 |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1.1/UME 3.1.1/UMQ 1.1.1 |
Scope: | source |
Type: | int |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1.1/UME 3.1.1/UMQ 1.1.1 |
String value | Integer value | Description |
---|---|---|
"Block" | LBM_FLIGHT_SIZE_BEHAVIOR_BLOCK | The send call blocks when a message send exceeds the source's flight size. If the message send is a non-blocking send, the send returns an LBM_EWOULDBLOCK. Default for all. |
"Notify" | LBM_FLIGHT_SIZE_BEHAVIOR_NOTIFY | A message send that exceeds the configured flight size does not block but triggers a flight size notification (source event), indicating that the flight size has been surpassed. UMQ also sends a source event notification if the number of in-flight messages falls below the configured flight size. |
Scope: | source |
Type: | lbm_umq_ulb_receiver_type_attr_t |
Default value: | empty (all receiver types have a mask of 0) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | source |
Type: | lbm_umq_ulb_receiver_type_attr_t |
Default value: | empty (all receivers have portion size of 1) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | source |
Type: | lbm_umq_ulb_receiver_type_attr_t |
Default value: | empty (all receivers have priority of 0) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.1/UME 3.1/UMQ 1.1. |
Scope: | receiver |
Type: | lbm_ulong_t |
Units: | milliseconds |
Default value: | 10000 (10 seconds) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.2 / UME 3.2 / UMQ 2.1 |
Scope: | receiver |
Type: | lbm_ulong_t |
Units: | milliseconds |
Default value: | 1000 (1 second) |
When to Set: | Can only be set during object initialization. |
Version: | This option was implemented in LBM 4.2 / UME 3.2 / UMQ 2.1 |