Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D982C59A for ; Tue, 10 Jul 2012 09:22:37 +0000 (UTC) Received: (qmail 9666 invoked by uid 500); 10 Jul 2012 09:22:36 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 9523 invoked by uid 500); 10 Jul 2012 09:22:36 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 9462 invoked by uid 99); 10 Jul 2012 09:22:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 09:22:34 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 09:22:28 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SoWdy-0000cT-H3 for users@activemq.apache.org; Tue, 10 Jul 2012 02:22:06 -0700 Date: Tue, 10 Jul 2012 02:22:06 -0700 (PDT) From: winfreight To: users@activemq.apache.org Message-ID: <1341912126521-4653818.post@n4.nabble.com> Subject: C# big messages returns null but get dequeued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi there, ITextMessage Message = consumer.Receive(ts) as ITextMessage; I'm using the above statement to read messages, If the massage is big the above statement will return null but will dequeue the message. What do I need to do in order to read big messages and to prevent the statement from Dequeueing messages if it returned null? Thanks in advance. -- View this message in context: http://activemq.2283324.n4.nabble.com/C-big-messages-returns-null-but-get-dequeued-tp4653818.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.