Commit ed025eeb authored by Andre Freyssinet's avatar Andre Freyssinet

Minors changes.

parent 31bc249d
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 2012 ScalAgent Distributed Technologies
* Copyright (C) 2001 - 2019 ScalAgent Distributed Technologies
* Copyright (C) 2004 Bull SA
* Copyright (C) 1996 - 2000 Dyade
*
......@@ -81,7 +81,7 @@ import fr.dyade.aaa.util.management.MXWrapper;
* <b>Joram MOM Model</b>
* <p>
* Server side, a destination is a component receiving messages from producers and answering to
* consuming requests from consumers. A destination might either be a “queue” or a “topic”:<ul>
* consuming requests from consumers. A destination might either be a queue or a topic:<ul>
* <li>Queue: each messages is read only by a single client.</li>
* <li>Topic: All clients that have previously subscribed to this topic are notified of
* the corresponding message.</li>
......@@ -280,6 +280,7 @@ public abstract class Destination extends AdministeredObject implements javax.jm
strbuf.append(XmlSerializer.indent(indent));
// TODO (AF): We should pay attention to temporary destinations!!
if (getType() == QUEUE_TYPE) {
strbuf.append("<Queue ");
} else if (getType() == TOPIC_TYPE) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment