You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2004/01/30 00:57:17 UTC
DO NOT REPLY [Bug 26543] New: -
Correlation ID not being set in message - culprit is createSendProperties in class JMSSender
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26543>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26543
Correlation ID not being set in message - culprit is createSendProperties in class JMSSender
Summary: Correlation ID not being set in message - culprit is
createSendProperties in class JMSSender
Product: Axis
Version: 1.2 Alpha
Platform: All
OS/Version: All
Status: NEW
Severity: Critical
Priority: Other
Component: Basic Architecture
AssignedTo: axis-dev@ws.apache.org
ReportedBy: annasarte@fairisaac.com
Correlation ID not being set in message - culprit is createSendProperties in
class JMSSender.
We have modified the method to the following so that it does not drop the
correlation ID.
private HashMap createSendProperties(MessageContext context)
{
if(!context.containsProperty(JMSConstants.PRIORITY) &&
!context.containsProperty(JMSConstants.DELIVERY_MODE) &&
!context.containsProperty(JMSConstants.JMS_CORRELATION_ID) &&
!context.containsProperty(JMSConstants.TIME_TO_LIVE))
{
return null;
}
HashMap props = new HashMap();
if(context.containsProperty(JMSConstants.PRIORITY))
props.put(JMSConstants.PRIORITY,
context.getProperty(JMSConstants.PRIORITY));
if(context.containsProperty(JMSConstants.DELIVERY_MODE))
props.put(JMSConstants.DELIVERY_MODE,
context.getProperty(JMSConstants.DELIVERY_MODE));
if(context.containsProperty(JMSConstants.TIME_TO_LIVE))
props.put(JMSConstants.TIME_TO_LIVE,
context.getProperty(JMSConstants.TIME_TO_LIVE));
if(context.containsProperty(JMSConstants.JMS_CORRELATION_ID))
props.put(JMSConstants.JMS_CORRELATION_ID,
context.getProperty(JMSConstants.JMS_CORRELATION_ID));
return props;
}