25.3. Fields

The following fields are defined in the interface javax.jms.Message.

DEFAULT_DELIVERY_MODE

public static final int DEFAULT_DELIVERY_MODE
						

The message producer's default delivery mode is PERSISTENT.

SEE ALSO:

DeliveryMode.PERSISTENT

DEFAULT_PRIORITY

public static final int DEFAULT_PRIORITY
						

The message producer's default priority is 4.

DEFAULT_TIME_TO_LIVE

public static final long DEFAULT_TIME_TO_LIVE
						

The message producer's default time to live is unlimited; the message never expires.

Get Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.