Show Table of Contents
9.3.3. org.jboss.mq.il.http.HTTPServerILService
The
org.jboss.mq.il.http.HTTPServerILService is used to manage the HTTP/S IL. This IL allows for the use of the JMS service over HTTP or HTTPS connections. The relies on the servlet deployed in the deploy/jms/jbossmq-httpil.sar to handle the HTTP traffic. The configurable attributes are as follows:
- TimeOut: The default timeout in seconds that the client HTTP requests will wait for messages. This can be overridden on the client by setting the system property
org.jboss.mq.il.http.timeoutto the number of seconds. - RestInterval: The number of seconds the client will sleep after each request. The default is 0, but you can set this value in conjunction with the
TimeOutvalue to implement a pure timed based polling mechanism. For example, you could simply do a short lived request by setting theTimeOutvalue to 0 and then setting theRestIntervalto 60. This would cause the client to send a single non-blocking request to the server, return any messages if available, then sleep for 60 seconds, before issuing another request. Like theTimeOutvalue, this can be explicitly overridden on a given client by specifying theorg.jboss.mq.il.http.restintervalwith the number of seconds you wish to wait between requests. - URL: Set the servlet URL. This value takes precedence over any individual values set (i.e. the
URLPrefix,URLSuffix,URLPort, etc.) It my be a actual URL or a property name which will be used on the client side to resolve the proper URL by callingSystem.getProperty(propertyname). If not specified the URL will be formed fromURLPrefix + URLHostName + ":" + URLPort + "/" + URLSuffix. - URLPrefix: The prefix portion of the servlet URL.
- URLHostName: The hostname portion of the servlet URL.
- URLPort: The port portion of the URL.
- URLSuffix: The trailing path portion of the URL.
- UseHostName: A flag that if set to true the default setting for the
URLHostNameattribute will be taken fromInetAddress.getLocalHost().getHostName(). If false the default setting for theURLHostNameattribute will be taken fromInetAddress.getLocalHost().getHostAddress().

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.