Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 MBean API Reference
11g Release 1 (10.3.1)

Part Number E13945-02

weblogic.management.configuration
Interface WSReliableDeliveryPolicyMBean

All Superinterfaces:
ConfigurationMBean

public interface WSReliableDeliveryPolicyMBean
extends ConfigurationMBean

This class represents the reliable messaging delivery policy for the current WebLogic Server as both a sender and a receiver of a reliable SOAP message to and from a Web service running on a different WebLogic Server.

Reliable messaging is a framework for applications running in WebLogic Server to asynchronously and reliably invoke a Web service running in a different WebLogic Server. Reliable messaging works only between WebLogic Servers. This class encapsulates the default reliable messaging parameters for an application running in this WebLogic Server instance that both sends and receives a SOAP message reliably. These parameters include the number of times to retry sending the message, the time to wait between retries, the persistent store for the reliable message, and so on.

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX."


Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 int getDefaultRetryCount()
          The default maximum number of times that the sender runtime should attempt to redeliver a message that the receiver WebLogic Server has not yet acknowledged.
 int getDefaultRetryInterval()
          The default minimum number of seconds that the sender runtime should wait between retries if the receiver does not send an acknowledgement of receiving the message, or if the sender runtime detects a communications error while attempting to send a message.
 int getDefaultTimeToLive()
          The default number of seconds that the receiver of the reliable message should persist the history of the reliable message in its store.
 JMSServerMBean getJMSServer()
          The JMS server used by WebLogic Server, in its role as a sender, to persist the reliable messages that it sends, or the JMS server used by the receiver WebLogic Server to persist the history of a reliable message sent by a sender.
 JMSStoreMBean getStore()
          Deprecated. 9.0.0.0 use the JMSServer attribute instead
 void setDefaultRetryCount(int count)
          Sets the value of the defaultRetryCount attribute.
 void setDefaultRetryInterval(int interval)
          Sets the value of the defaultRetryInterval attribute.
 void setDefaultTimeToLive(int timeToLive)
          Sets the value of the defaultTimeToLive attribute.
 void setJMSServer(JMSServerMBean server)
          The JMS server used by WebLogic Server, in its role as a sender, to persist the reliable messages that it sends, or the JMS server used by the receiver WebLogic Server to persist the history of a reliable message sent by a sender.
 void setStore(JMSStoreMBean store)
          Deprecated. 9.0.0.0 use the JMSServer attribute instead
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 

Method Detail

getStore

JMSStoreMBean getStore()
Deprecated. 9.0.0.0 use the JMSServer attribute instead

The persistent JMS store used by WebLogic Server, in its role as a sender, to persist the reliable messages that it sends, or the persistent JMS store used by the receiver WebLogic Server to persist the history of a reliable message sent by a sender.

Returns:
The store value

setStore

void setStore(JMSStoreMBean store)
              throws InvalidAttributeValueException
Deprecated. 9.0.0.0 use the JMSServer attribute instead

Sets the value of the store attribute.

The persistent JMS store used by WebLogic Server to persist the reliable messages that it either sends or receives.

Parameters:
store - The new store value
Throws:
InvalidAttributeValueException
See Also:
WSReliableDeliveryPolicyMBean.getStore()

getJMSServer

JMSServerMBean getJMSServer()

The JMS server used by WebLogic Server, in its role as a sender, to persist the reliable messages that it sends, or the JMS server used by the receiver WebLogic Server to persist the history of a reliable message sent by a sender.

Returns:
the JMSServer value

setJMSServer

void setJMSServer(JMSServerMBean server)
                  throws InvalidAttributeValueException

The JMS server used by WebLogic Server, in its role as a sender, to persist the reliable messages that it sends, or the JMS server used by the receiver WebLogic Server to persist the history of a reliable message sent by a sender.

Throws:
InvalidAttributeException
InvalidAttributeValueException

getDefaultRetryCount

int getDefaultRetryCount()

The default maximum number of times that the sender runtime should attempt to redeliver a message that the receiver WebLogic Server has not yet acknowledged.

The default maximum number of times that the sender should attempt to redeliver a message that the receiver WebLogic Web service has not yet acknowledged.

Returns:
The defaultRetryCount value
Default Value:
10

setDefaultRetryCount

void setDefaultRetryCount(int count)
                          throws InvalidAttributeValueException

Sets the value of the defaultRetryCount attribute.

The default maximum number of times that the sender should attempt to redeliver a message that the receiver WebLogic Web service has not yet acknowledged.

Parameters:
count - The new defaultRetryCount value
Throws:
InvalidAttributeValueException
See Also:
WSReliableDeliveryPolicyMBean.getDefaultRetryCount()

getDefaultRetryInterval

int getDefaultRetryInterval()

The default minimum number of seconds that the sender runtime should wait between retries if the receiver does not send an acknowledgement of receiving the message, or if the sender runtime detects a communications error while attempting to send a message.

The default minimum number of seconds that the sender should wait between retries if the receiver does not send an acknowledgement of receiving the message, or if the sender detects a communications error while attempting to send a message.

Returns:
The defaultRetryInterval value

setDefaultRetryInterval

void setDefaultRetryInterval(int interval)
                             throws InvalidAttributeValueException

Sets the value of the defaultRetryInterval attribute.

The default minimum number of seconds that the sender should wait between retries if the receiver does not send an acknowledgement of receiving the message, or if the sender detects a communications error while attempting to send a message.

Parameters:
time - The new defaultRetryInterval value
Throws:
InvalidAttributeValueException
See Also:
WSReliableDeliveryPolicyMBean.getDefaultRetryInterval()
Default Value:
6

getDefaultTimeToLive

int getDefaultTimeToLive()

The default number of seconds that the receiver of the reliable message should persist the history of the reliable message in its store.

The default minimum number of seconds that the receiver of the reliably sent message should persist the message in its storage.

If the DefaultTimeToLive number of message have passed since the message was first sent, the sender should not resent a message with the same message id.

If a sender cannot send a message successfully before the DefaultTimeToLive has passed, the sender should report a delivery failure. The receiver, after recovering from a crash, will not dispatch saved messages that have expired.

Returns:
The defaultTimeToLive value
Default Value:
360

setDefaultTimeToLive

void setDefaultTimeToLive(int timeToLive)
                          throws InvalidAttributeValueException

Sets the value of the defaultTimeToLive attribute.

The default minimum number of seconds that the receiver of the reliably sent message should persist the message in its storage.

If the DefaultTimeToLive number of message have passed since the message was first sent, the sender should not resent a message with the same message id.

If a sender cannot send a message successfully before the DefaultTimeToLive has passed, the sender should report a delivery failure. The receiver, after recovering from a crash, will not dispatch saved messages that have expired.

Parameters:
time - The new defaultTimeToLive value
Throws:
InvalidAttributeValueException
See Also:
WSReliableDeliveryPolicyMBean.getDefaultTimeToLive()
Default Value:
360

Documentation is available at
http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm
Copyright 1996, 2009, 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.

Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 MBean API Reference
11g Release 1 (10.3.1)

Part Number E13945-02