DefaultDeliveryParamsBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

If a client does not specify certain parameters then the values that those parameters will take can be controlled with a default delivery parameters bean.

       
Security rolesThe following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
  • Deployer
Fully Qualified Interface NameIf you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.j2ee.descriptor.wl.DefaultDeliveryParamsBean
Factory Methods No factory methods. Instances of this MBean are created automatically.
Access Points You can access this MBean from the following MBean attributes:


    Attributes

    This section describes the following attributes:


    DefaultCompressionThreshold

    The number of bytes for the serialized message body so any message exceeds this limit will trigger message compression when the message is sent or received by the JMS message producer or consumer.

    The compression will occur either:

           
    Privileges Read/Write
    Typeint
    Default Value2147483647
    Minimum value0
    Maximum value2147483647

    DefaultDeliveryMode

    The default delivery mode used for messages when a delivery mode is not explicitly defined.

    All messages with a DefaultDeliveryMode of null that are produced on a connection created with this factory will receive this value. Message producers can get the delivery mode explicitly by calling the javax.jms.MessageProducer.getDeliveryMode() method.

    This attribute is dynamic. It can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.

           
    Privileges Read/Write
    Typejava.lang.String
    Default ValuePersistent
    Legal Values
    • Persistent
    • Non-Persistent

    DefaultPriority

    The default priority used for messages when a priority is not explicitly defined.

    All messages with a DefaultPriority of -1 that are produced on a connection created with this factory will receive this value. Message producers can get the priority explicitly by calling the javax.jms.MessageProducer.getPriority() method.

    This attribute is dynamic. It can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.

           
    Privileges Read/Write
    Typeint
    Default Value4
    Minimum value0
    Maximum value9

    DefaultRedeliveryDelay

    The delay time, in milliseconds, before rolled back or recovered messages are redelivered.

    All messages consumed by a consumer created with this factory that have a DefaultRedeliveryDelay of -1 will use this value.

    Message consumers can get the redelivery delay explicitly by calling the weblogic.jms.extensions.WLSession.getRedliveryDelay() method.

    This attribute is dynamic. It can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.

           
    Privileges Read/Write
    Typelong
    Default Value0
    Minimum value0
    Maximum value9223372036854775807

    DefaultTimeToDeliver

    The delay time, in milliseconds, between when a message is produced and when it is made visible on its destination.

    All messages produced by a producer created with this factory that have a DefaultTimeToDeliver of -1 will use this value. Message producers can get the Time-to-Deliver explicitly by calling the weblogic.jms.extensions.WLMessageProducer.getTimeToDeliver() method.

    This attribute is dynamic. It can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.

           
    Privileges Read/Write
    Typejava.lang.String
    Default Value0

    DefaultTimeToLive

    The maximum length of time, in milliseconds, that a message exists. This value is used for messages when both the time-to-live is not explicitly set by the sender application that is using this connection factory and the time-to-live is not explicitly overridden by the destination's TimeToLiveOverride attribute . A value of 0 indicates that the message has an infinite amount time to live.

    Message producer applications can set the time-to-live explicitly by calling the standard JMS javax.jms.MessageProducer.setTimeToLive(long) method. Note that programmatically setting time-to-live using javax.jms.Message.setJMSExpiration() has no effect - the message setter is ignored by the JMS send call as required by the JMS specification.

    This attribute is dynamic. It can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.

           
    Privileges Read/Write
    Typelong
    Default Value0
    Minimum value0
    Maximum value9223372036854775807

    DefaultUnitOfOrder

    The default Unit-of-Order name for producers that connect using this connection factory. A Unit-of-Order allows for messages to be processed in a certain order, even among multiple recipients.

    System-generated indicates that WebLogic Server will automatically generate a Unit-of-Order name. User-Generated indicates that the Unit-of-Order name will come from the name specified name in the Unit-of-Order Name field. If None is selected, no message ordering is enforced.

           
    Privileges Read/Write
    Typejava.lang.String

    SendTimeout

    The maximum length of time, in milliseconds, that a sender will wait when there isn't enough available space (no quota) on a destination to accommodate the message being sent.

    The default time is 10 milliseconds. A value of 0 indicates that the sender does not want to wait for space.

    This attribute is dynamic. It can be changed at any time. However, changing the value does not affect existing connections or their producers. It only affects new connections made with this connection factory. Producers inherit the setting from the connection factory used to create their session and connection. The value can then be overridden at run time by setting the value on the producer.

           
    Privileges Read/Write
    Typelong
    Default Value10
    Minimum value0
    Maximum value9223372036854775807


    Operations

    This section describes the following operations:


      isSet

      Return true if the given property has been explicitly set in this bean.

         
      Operation Name"isSet"
      ParametersObject [] {  propertyName }

      where:

      • propertyName is an object of type java.lang.String that specifies:

        property to check

      SignatureString [] { "java.lang.String" }
      Returns boolean
      Exceptions
      • java.lang.IllegalArgumentException
        IllegalArgumentException if propertyName is not a recognized property

      unSet

      Restore the given property to its default value.

         
      Operation Name"unSet"
      ParametersObject [] {  propertyName }

      where:

      • propertyName is an object of type java.lang.String that specifies:

        property to restore

      SignatureString [] { "java.lang.String" }
      Returns void
      Exceptions
      • java.lang.IllegalArgumentException
        UnsupportedOperationException if called on a runtime implementation.