You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org> on 2007/02/20 12:35:05 UTC

[jira] Resolved: (QPID-335) .NET Client messages not interoperable with Java client

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

Marnie McCormack resolved QPID-335.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: M2

r501004 removed the lines in BasicMessageConsumer which were causing this exception, by expecting a JMSX property regardless of message type:

org.apache.qpid.client.BasicMessageConsumer.preApplicationProcessing(BasicMessageConsumer.java:275)

Used to include this line:

        byte[] url = jmsMsg.getBytesProperty CustomJMSXProperty.JMSX_QPID_JMSDESTINATIONURL.getShortStringName());

This property will not exist on a message originating from .NET.

This was removed by r501004 so no longer an issue. Resolving JIRA.



> .NET Client messages not interoperable with Java client
> -------------------------------------------------------
>
>                 Key: QPID-335
>                 URL: https://issues.apache.org/jira/browse/QPID-335
>             Project: Qpid
>          Issue Type: Bug
>          Components: Dot Net Client, Java Client
>    Affects Versions: M1
>            Reporter: Marnie McCormack
>         Assigned To: Marnie McCormack
>             Fix For: M2
>
>
> If you publish a message to a Topic using the .NET client and there is a Java client listening to that topic the Java client gives the folling error:
> Dispatcher-Channel-1 2007-02-01 11:18:28,078 ERROR [apache.qpid.client.BasicMessageConsumer] reNotification : Caught exception (dump follows) - ignoring...
> javax.jms.MessageFormatException: getBytes can't use JMSX_QPID_JMSDESTINATIONURL item.
> 	at org.apache.qpid.client.message.JMSHeaderAdapter.getBytes(JMSHeaderAdapter.java:136)
> 	at org.apache.qpid.client.message.AbstractJMSMessage.getBytesProperty(AbstractJMSMessage.java:586)
> 	at org.apache.qpid.client.BasicMessageConsumer.preApplicationProcessing(BasicMessageConsumer.java:275)
> 	at org.apache.qpid.client.BasicMessageConsumer.notifyMessage(BasicMessageConsumer.java:567)
> 	at org.apache.qpid.client.BasicMessageConsumer.notifyMessage(BasicMessageConsumer.java:540)
> 	at org.apache.qpid.client.AMQSession$Dispatcher.dispatchMessage(AMQSession.java:307)
> 	at org.apache.qpid.client.AMQSession$Dispatcher.doNormalDispatch(AMQSession.java:241)
> 	at org.apache.qpid.client.AMQSession$Dispatcher.run(AMQSession.java:225)

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