INT-3259 Map Inbound JMSPriority to priority
JIRA: https://jira.springsource.org/browse/INT-3259 Add an option to suppress if needed. INT-3259: Polishing according PR comments
This commit is contained in:
committed by
Artem Bilan
parent
ad1035c33a
commit
c0637b6e99
@@ -521,6 +521,12 @@
|
||||
standard JMS API Headers as well as primitive/String Message Headers. Custom header mapper could also be
|
||||
provided via <code>header-mapper</code> attribute of inbound and outbound gateways.
|
||||
</para>
|
||||
<important>
|
||||
Since <emphasis>version 4.0</emphasis>, the <code>JMSPriority</code> header is mapped to the standard
|
||||
<code>priority</code> header for inbound messages (previously, the <code>priority</code> header was only used for
|
||||
outbound messages). To revert to the previous behavior (do not map inbound priority), use the
|
||||
<code>mapInboundPriority</code> property of <classname>DefaultJmsHeaderMapper</classname> with argument set to <code>false</code>.
|
||||
</important>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
@@ -50,5 +50,13 @@
|
||||
For more information see <xref linkend="transformer-xpath-spel-function"/>.
|
||||
</para>
|
||||
</section>
|
||||
<section id="4.0-jms-header-mapping">
|
||||
<title>JMS Header Mapping</title>
|
||||
<para>
|
||||
The <classname>DefaultJmsHeaderMapper</classname> now maps an incoming <code>JMSPriority</code> header to
|
||||
the Spring Integration <code>priority</code> header. Previously <code>priority</code> was only
|
||||
considered for outbound messages. For more information see <xref linkend="jms-header-mapping"/>.
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
||||
</chapter>
|
||||
|
||||
Reference in New Issue
Block a user