## Uniform Distributed Queue

A distributed queue is a set of JMS queue instances, each hosted on a different JMS server, that are accessible as a single, logical queue to a client. A uniform distributed queue automatically creates a queue instance on each JMS server that is referenced by its target.

General Advice:

- Applications that use distributed queues should configure a minimum of two JMS servers, and ensure that the subdeployment target for the distributed queue encompasses both targets. For convenience during development, it is possible to configure two JMS servers to run on the same WebLogic Server JVM.
- To ensure that all members of a distributed queue are serviced by consumers, Oracle recommends using WebLogic MDBs to process the messages. WebLogic MDBs automatically ensure that all queue members have consumers, and respond transparently to restarts and migrations of their source destination(s).
- Oracle recommends avoiding using default targeting with distributed destinations. Instead, use a subdeployment target that in turn references one or more JMS servers.