BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.jms.extensions
Interface WLMessage


public interface WLMessage
extends javax.jms.Message

A WLMessage provides methods not supported by javax.jms.Message.

WLMessage provide methods for the following:

Author:
Copyright (c) 2001 by BEA Systems, Inc., All Rights Reserved.
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.
See Also:
Message

Fields inherited from class javax.jms.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Method Summary
 long getJMSDeliveryTime()
          Get the delivery time for the message; the delivery time is an absolute time expressed in milliseconds.
 void setJMSDeliveryTime(long deliveryTime)
          Set the delivery time for the message; this method is for use by providers only, and is called automatically when a message is sent.
 
Methods inherited from interface javax.jms.Message
acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
 

Method Detail

getJMSDeliveryTime

public long getJMSDeliveryTime()
                        throws javax.jms.JMSException
Get the delivery time for the message; the delivery time is an absolute time expressed in milliseconds. This value is set by the provider when the message sent.

Returns:
The delivery time for the message.
Throws:
javax.jms.JMSException - if a JMS error occurs.
See Also:
weblogic.jms.extensions.WLProducer.getTimeToDeliver(), weblogic.jms.extensions.WLProducer.setTimeToDeliver(long)

setJMSDeliveryTime

public void setJMSDeliveryTime(long deliveryTime)
                        throws javax.jms.JMSException
Set the delivery time for the message; this method is for use by providers only, and is called automatically when a message is sent. When the message is sent, the current redelivery time is over-ridden.

Parameters:
deliveryTime - the time to deliver this message.
Throws:
javax.jms.JMSException - if a JMS error occurs.
See Also:
weblogic.jms.extensions.WLProducer.getTimeToDeliver(), weblogic.jms.extensions.WLProducer.setTimeToDeliver(long)

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.