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 "John Turner (JIRA)" <ji...@apache.org> on 2007/03/01 16:06:52 UTC

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

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


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


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

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481576 ] 

Asankha C. Perera commented on AXIS2-2277:
------------------------------------------

Dims, Rajith

I was working on this and 2030 and would fix both during this weekend

asankha

> 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


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

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved AXIS2-2277.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

Fixed on trunk to be included for 1.2 release (Already included in first RC)

> 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: Asankha C. Perera
>             Fix For: 1.2
>
>
> 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


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

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481432 ] 

Davanum Srinivas commented on AXIS2-2277:
-----------------------------------------

Rajith,

Could you please lend a hand with this one?

thanks,
dims

> 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


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

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera reassigned AXIS2-2277:
----------------------------------------

    Assignee: Asankha C. Perera  (was: 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: Asankha C. Perera
>
> 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