Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.jms.extensions
Interface WLMessage

All Superinterfaces:
  WLAcknowledgeInfo

    public interface WLMessage

extends WLAcknowledgeInfo

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

WLMessage provide methods for the following:

- Setting the delivery time for the message
- Getting the delivery time for the message

See Also:
  `Message`

Method Summary
`boolean` | `getDDForwarded()` Return true if the message is forwarded from one DD Member to another or from SAFImported Destination to a DD Member
`long` | `getJMSDeliveryTime()` Deprecated. As of 9.0, replaced by javax.jms.Message.getIntProperty("JMS_BEA_DeliveryTime").
`Document` | `getJMSMessageDocument()` Returns an XML DOM Document representation of the message.
`int` | `getJMSRedeliveryLimit()` Deprecated. As of 9.0, replaced by javax.jms.Message.getIntProperty("JMS_BEA_RedeliveryLimit").
`long` | `getSAFSeqNumber()` Get the Sequence Number on the message.
`String` | `getSAFSequenceName()` Get the SAF SequenceName for the message.
`String` | `getUnitOfOrder()` Get Unit-of-Order name.
`void` | `setJMSDeliveryTime(long deliveryTime)` Deprecated. As of 9.0, no longer needed.
`void` | `setJMSRedeliveryLimit(int redeliveryLimit)` Deprecated. As of 9.0, no longer needed.
`void` | `setSAFSeqNumber(long seqNumber)` set the sequence number for a sequence.
`void` | `setSAFSequenceName(String safSequenceName)` Set the SAF Sequence Name for this WL Message

Method Detail

### getJMSDeliveryTime

    long getJMSDeliveryTime()
                            throws JMSException

  Deprecated. As of 9.0, replaced by javax.jms.Message.getIntProperty("JMS_BEA_DeliveryTime").

  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.
    `JMSException`
  See Also:
    `WLMessageProducer.getTimeToDeliver()`, `WLMessageProducer.setTimeToDeliver(long)`

### setJMSDeliveryTime

    void setJMSDeliveryTime(long deliveryTime)
                            throws JMSException

  Deprecated. As of 9.0, no longer needed.

  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.
    `JMSException`
  See Also:
    `WLMessageProducer.getTimeToDeliver()`, `WLMessageProducer.setTimeToDeliver(long)`

### getJMSRedeliveryLimit

    int getJMSRedeliveryLimit()
                              throws JMSException

  Deprecated. As of 9.0, replaced by javax.jms.Message.getIntProperty("JMS_BEA_RedeliveryLimit").

  Get the redelivery limit for the message. This is the number of times a message will be redelivered after a recover or rollback. This method should only be called by JMS providers. The value is set by the producer when the message is sent.

  Returns:
    The number of times to redeliver the message
  Throws:
    `javax.jms.JMSException` - if a JMS error occurs.
    `JMSException`
  See Also:
    `WLMessageProducer.getRedeliveryLimit()`, `WLMessageProducer.setRedeliveryLimit(int)`

### setJMSRedeliveryLimit

    void setJMSRedeliveryLimit(int redeliveryLimit)
                               throws JMSException

  Deprecated. As of 9.0, no longer needed.

  Set the redelivery limit for the message. This is the number of times a message will be redelivered after a recover or rollback. This method should only be called by JMS providers. The value is set by the producer when the message is sent.

  Parameters:
    `redeliveryLimit` - the number of times to redeliver the message
  Throws:
    `javax.jms.JMSException` - if a JMS error occurs.
    `JMSException`
  See Also:
    `WLMessageProducer.getRedeliveryLimit()`, `WLMessageProducer.setRedeliveryLimit(int)`

### getJMSMessageDocument

    Document getJMSMessageDocument()
                                   throws JMSException

  Returns an XML DOM Document representation of the message.

  Throws:
    `JMSException`

### getDDForwarded

    boolean getDDForwarded()

  Return true if the message is forwarded from one DD Member to another or from SAFImported Destination to a DD Member

  Returns:
    true if the message is forwarded from one DD Member to another or from SAFImported Destination to a DD Member

### getUnitOfOrder

    String getUnitOfOrder()

  Get Unit-of-Order name.

  Returns:
    unitOfOrderName

### setSAFSequenceName

    void setSAFSequenceName(String safSequenceName)

  Set the SAF Sequence Name for this WL Message

  Parameters:
    `safSequenceName` -

### getSAFSequenceName

    String getSAFSequenceName()

  Get the SAF SequenceName for the message.

  Returns:

### setSAFSeqNumber

    void setSAFSeqNumber(long seqNumber)

  set the sequence number for a sequence.

  Parameters:
    `seqNumber` -

### getSAFSeqNumber

    long getSAFSeqNumber()

  Get the Sequence Number on the message.

  Returns:
    sequenceNumber

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD