|
1 | 1 | /* |
2 | | - * Copyright 2007 the original author or authors. |
| 2 | + * Copyright 2005-2012 the original author or authors. |
3 | 3 | * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
6 | 6 | * You may obtain a copy of the License at |
7 | 7 | * |
8 | | - * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 | * |
10 | 10 | * Unless required by applicable law or agreed to in writing, software |
11 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
49 | 49 | * themselves. The <i>destination</i> represents the name of the {@link Queue} or {@link Topic} that will be resolved by |
50 | 50 | * the {@link #getDestinationResolver() destination resolver}. Valid <i>param-name</i> include: |
51 | 51 | * <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> |
61 | 81 | * <p/> |
62 | 82 | * If the <tt>replyToName</tt> is not set, a {@link Session#createTemporaryQueue() temporary queue} is used. |
63 | 83 | * <p/> |
64 | 84 | * 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. |
67 | 87 | * <p/> |
68 | 88 | * Some examples of JMS URIs are: |
69 | 89 | * <p/> |
|
0 commit comments