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 "Asankha C. Perera (JIRA)" <ji...@apache.org> on 2008/12/08 19:34:44 UTC

[jira] Commented: (AXIS2-4025) Using JMSMessageID as correlationID for JMS messages

    [ https://issues.apache.org/jira/browse/AXIS2-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654506#action_12654506 ] 

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

Hi Cathal

We have updated the JMS transport quite a bit recently.. could you check if the issue still persists? If so, you are encouraged to offer a patch to further enhance

thanks
asankha

> Using JMSMessageID as correlationID for JMS messages
> ----------------------------------------------------
>
>                 Key: AXIS2-4025
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4025
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel, transports
>         Environment: OS: Windows XP Pro 2002 Service Pack 2
>            Reporter: Cathal Callaghan
>             Fix For: 1.4
>
>         Attachments: JMSMessageReceiver.java, JMSSender.java
>
>
> The correlationID solution currently in place in Axis2 version 1.4 does not work.
> Currently the option is available to specify a correlationID but when the MessageConsumer is created no MessageSelector is specified. This means that the MessageConsumer will take any message off the queue.
> Also, currently the only way to use a correlationID is to explicity specify an ID via the JMSConstants.JMS_COORELATION_ID property. This is very restrictive for those who wish to use the option of using the JMSMessageID of the message as the correlationID.
> I have attached a proposed solution which firstly ensures that the MessageConsumer is created using a MessageSelector. Also i have given the user a choice, if they explicity specify a correlationID then this will be used otherwise the JMSMessageID of the message will be used as the correlationID.
> Thanks,
> Cathal

-- 
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