Added mapping for JMSRedlivered flag on inbound JMS Message.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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";
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user