Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 3214 invoked from network); 9 Apr 2008 22:43:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2008 22:43:32 -0000 Received: (qmail 15132 invoked by uid 500); 9 Apr 2008 22:43:32 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 14960 invoked by uid 500); 9 Apr 2008 22:43:32 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 14942 invoked by uid 99); 9 Apr 2008 22:43:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 15:43:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 22:42:58 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DD82F234C0C2 for ; Wed, 9 Apr 2008 15:40:44 -0700 (PDT) Message-ID: <810178298.1207780844896.JavaMail.jira@brutus> Date: Wed, 9 Apr 2008 15:40:44 -0700 (PDT) From: "Jim Gomes (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQNET-69) Various DefaultMessageConverter issues In-Reply-To: <19102770.1191279322730.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQNET-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Gomes resolved AMQNET-69. ----------------------------- Resolution: Fixed Fixed by SVN revision 646581. > Various DefaultMessageConverter issues > -------------------------------------- > > Key: AMQNET-69 > URL: https://issues.apache.org/activemq/browse/AMQNET-69 > Project: ActiveMQ .Net > Issue Type: Bug > Components: MSMQ > Reporter: David Holroyd > Assignee: James Strachan > Fix For: 1.1 > > Attachments: DefaultMessageConverter_issues-patch.diff > > > 1) {{ToMsmqMessage()}} does not handle the actual message body > 2) {{answer.TimeToBeReceived = message.NMSExpiration}} seems to make the message expire immediately (since the TimeSpan structure is initialised to 00:00:00) > 3) {{answer.Label = message.NMSType}} raises an exception when NMSType is null (per AMQNET-67) > 4) The MSMQ {{message.CorrelationId}}, {{message.DestinationQueue}} and {{message.TimeToBeReceived}} properties all raise {{InvalidOperationException}} when accessed, if the message doesn't define a value > 5) Accessing the {{message.Body}} property raises an exception unless an {{IMessageFormatter}} has been provided. > The attached patch addresses these problems, but only provides support for BytesMessage instances. This seems better than no support for any kind of message though? Made available under ASF license. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.