Added mapping for JMSRedlivered flag on inbound JMS Message.

This commit is contained in:
Mark Fisher
2008-04-10 17:10:32 +00:00
parent e5b2a2a9aa
commit 63680cd570
2 changed files with 3 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ public class DefaultJmsHeaderMapper implements MessageHeaderMapper<javax.jms.Mes
if (replyTo != null) {
header.setAttribute(JmsAttributeKeys.REPLY_TO, replyTo);
}
header.setAttribute(JmsAttributeKeys.REDELIVERED, jmsMessage.getJMSRedelivered());
String type = jmsMessage.getJMSType();
if (type != null) {
header.setAttribute(JmsAttributeKeys.TYPE, type);

View File

@@ -30,6 +30,8 @@ public abstract class JmsAttributeKeys {
public static final String REPLY_TO = "_jms.JMSReplyTo";
public static final String REDELIVERED = "_jms.JMSRedelivered";
public static final String TYPE = "_jms.JMSType";
}