|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UniformDistributedTopicBean
A uniform distributed topic is a distributed topic whose members are configured as part of its configuration; since members share the same configuration, they are uniform. There is one member on each JMS Server that conforms to the targeting criteria of the uniform distributed topic. For example, if a uniform distributed topic is targeted to a cluster, then one member will be created on each JMS server in the cluster. Members are created and destroyed as the targeting is changed.
Method Summary | |
---|---|
String |
getForwardingPolicy()
The uniform distributed topic message Forwarding Policy specifies whether a sent message is forwarded to all members. |
void |
setForwardingPolicy(String forwardingPolicy)
Sets the value of the Message ForwardingPolicy attribute for this topic. |
Methods inherited from interface weblogic.j2ee.descriptor.wl.UniformDistributedDestinationBean |
---|
getLoadBalancingPolicy, getUnitOfOrderRouting, setLoadBalancingPolicy, setUnitOfOrderRouting |
Methods inherited from interface weblogic.j2ee.descriptor.wl.TargetableBean |
---|
getSubDeploymentName, isDefaultTargetingEnabled, setDefaultTargetingEnabled, setSubDeploymentName |
Methods inherited from interface weblogic.j2ee.descriptor.wl.NamedEntityBean |
---|
getId, getName, getNotes, setName, setNotes |
Methods inherited from interface weblogic.descriptor.SettableBean |
---|
isSet, unSet |
Methods inherited from interface weblogic.j2ee.descriptor.wl.TopicBean |
---|
getMulticast |
Methods inherited from interface weblogic.j2ee.descriptor.wl.TargetableBean |
---|
getSubDeploymentName, isDefaultTargetingEnabled, setDefaultTargetingEnabled, setSubDeploymentName |
Methods inherited from interface weblogic.j2ee.descriptor.wl.NamedEntityBean |
---|
getId, getName, getNotes, setName, setNotes |
Methods inherited from interface weblogic.descriptor.SettableBean |
---|
isSet, unSet |
Method Detail |
---|
String getForwardingPolicy()
The uniform distributed topic message Forwarding Policy specifies whether a sent message is forwarded to all members.
The valid values are:
A publisher that uses a logical JNDI name of a Replicated distributed topic is created on one member and every send call publishes
messages to the same member regardless the value of the Load Balancing Enabled
attribute. This is behavior is backward compatible
with previous WebLogic Server releases when using a uniform distributed topic. Under the same conditions, a Partitioned distributed topic
publishes to the same member only when the value of the Load Balancing Enabled
attribute is set to false. If the value of
the Load Balancing Enabled
attribute is to true, a publisher to a Partitioned distributed topic publishes messages that are load balanced
accross all the members of the uniform distributed topic.
Most new applications will use the new Partitioned forwarding policy in combination with a logical subscription topology on a uniform distributed
topic that consists of: (1) a same named physical subscription created directly on each physical member, (2) a Client ID Policy of Unrestricted, and
(3) a Subscription Sharing Policy of Sharable
. WL 10.3.4 Message Driven Beans (MDBs) provides a Topic Messages Distribution Mode
option to automatically setup this kind of topology.
void setForwardingPolicy(String forwardingPolicy) throws IllegalArgumentException
Sets the value of the Message ForwardingPolicy attribute for this topic.
forwardingPolicy
- message forwarding policy for this topic
IllegalArgumentException
UniformDistributedTopicBean.getForwardingPolicy()
|
Copyright 1996, 2013, 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 Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |