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 "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/03/16 03:11:09 UTC

[jira] Updated: (AXIS2-2277) JMS Message Id in request message context

     [ 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