LibraryLink ToToggle FramesPrintFeedback

Consumer Specific Runtime Configuration

The JMS consumer configuration allows you to specify two runtime behaviors:

You configure consumer runtime behavior using the jms:clientConfig element. The jms:clientConfig element is a child of the jms:conduit element. It has two attributes that are used to specify the configurable runtime properties of a consumer endpoint.

You specify the interval, in milliseconds, a consumer endpoint will wait for a response before timing out using the jms:clientConfig element's clientReceiveTimeout attribute. The default timeout interval is 2000.

You specify the interval, in milliseconds, that a request can remain unreceived before the JMS broker can delete it using the jms:clientConfig element's messageTimeToLive attribute. The default time to live interval is 0 which specifies that the request has an infinite time to live.

Example 6.9 shows a configuration fragment that sets the consumer endpoint's request lifetime to 500 milliseconds and its timeout value to 500 milliseconds.