Skip to content

Commit 4d606a7

Browse files
committed
Javadoc
1 parent 09bcd7f commit 4d606a7

File tree

1 file changed

+33
-13
lines changed

1 file changed

+33
-13
lines changed

support/src/main/java/org/springframework/ws/transport/jms/JmsMessageSender.java

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2007 the original author or authors.
2+
* Copyright 2005-2012 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* http://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -49,21 +49,41 @@
4949
* themselves. The <i>destination</i> represents the name of the {@link Queue} or {@link Topic} that will be resolved by
5050
* the {@link #getDestinationResolver() destination resolver}. Valid <i>param-name</i> include:
5151
* <p/>
52-
* <blockquote><table> <tr><th><i>param-name</i></th><th><i>Description</i></th></tr>
53-
* <tr><td><tt>deliveryMode</tt></td><td>Indicates whether the request message is persistent or not. This may be
54-
* <tt>PERSISTENT</tt> or <tt>NON_PERSISTENT</tt>. See {@link MessageProducer#setDeliveryMode(int)}</td></tr>
55-
* <tr><td><tt>messageType</tt></td><td>The message type. This may be <tt>BINARY_MESSAGE</tt> (the default) or
56-
* <tt>TEXT_MESSAGE</tt></td></tr> <tr><td><tt>priority</tt></td><td>The JMS priority (0-9) associated with the request
57-
* message. See {@link MessageProducer#setPriority(int)}</td></tr> <tr><td><tt>replyToName</tt></td><td>The name of the
58-
* destination to which the response message must be sent, that will be resolved by the {@link #getDestinationResolver()
59-
* destination resolver}.</td></tr> <tr><td><tt>timeToLive</tt></td><td>The lifetime, in milliseconds, of the request
60-
* message. See {@link MessageProducer#setTimeToLive(long)}</td></tr> </table></blockquote>
52+
* <blockquote>
53+
* <table>
54+
* <tr><th><i>param-name</i></th><th><i>Description</i></th></tr>
55+
* <tr>
56+
* <td><tt>deliveryMode</tt></td>
57+
* <td>Indicates whether the request message is persistent or not. This may be <tt>PERSISTENT</tt> or
58+
* <tt>NON_PERSISTENT</tt>. See {@link MessageProducer#setDeliveryMode(int)}</td>
59+
* </tr>
60+
* <tr>
61+
* <td><tt>messageType</tt></td>
62+
* <td>The message type. This may be <tt>BINARY_MESSAGE</tt> (the default) or <tt>TEXT_MESSAGE</tt></td>
63+
* </tr>
64+
* <tr>
65+
* <td><tt>priority</tt></td>
66+
* <td>The JMS priority (0-9) associated with the request message. See
67+
* {@link MessageProducer#setPriority(int)}</td>
68+
* </tr>
69+
* <tr>
70+
* <td><tt>replyToName</tt></td>
71+
* <td>The name of the destination to which the response message must be sent, that will be resolved by
72+
* the {@link #getDestinationResolver() destination resolver}.</td>
73+
* </tr>
74+
* <tr>
75+
* <td><tt>timeToLive</tt></td>
76+
* <td>The lifetime, in milliseconds, of the request message. See
77+
* {@link MessageProducer#setTimeToLive(long)}</td>
78+
* </tr>
79+
* </table>
80+
* </blockquote>
6181
* <p/>
6282
* If the <tt>replyToName</tt> is not set, a {@link Session#createTemporaryQueue() temporary queue} is used.
6383
* <p/>
6484
* This class uses {@link BytesMessage} messages by default, but can be configured to send {@link TextMessage} messages
65-
* instead. <b>Note</b> that <code>BytesMessages</code> are prefered, since <code>TextMessages</code> do not support
66-
* attachments and charactering encodings reliably.
85+
* instead. <b>Note</b> that <code>BytesMessages</code> are preferred, since <code>TextMessages</code> do not support
86+
* attachments and character encodings reliably.
6787
* <p/>
6888
* Some examples of JMS URIs are:
6989
* <p/>

0 commit comments

Comments
 (0)