axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-2277) JMS Message Id in request message context
Date Fri, 16 Mar 2007 02:11:09 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davanum Srinivas updated AXIS2-2277:
------------------------------------

    Assignee: Rajith Attapattu

> JMS Message Id in request message context
> -----------------------------------------
>
>                 Key: AXIS2-2277
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2277
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.1.1
>         Environment: Windows XP
>            Reporter: John Turner
>         Assigned To: Rajith Attapattu
>
> The correlation id on a JMS  message is not set correctly.  It appears that this is occuring
because the mesage id is not set on creation of the request message context (JMSMessageReceiver.createMessageContext).
 I added the following line of code and it appears to have fixed the problem.
> private MessageContext createMessageContext(Message message) {
>   InputStream in = JMSUtils.getInputStream(message);
>   try {
>     MessageContext msgContext = new MessageContext();
>     .....
>     msgContext.getOptions().setMessageId(message.getJMSMessageID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message