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 19657187FE for ; Thu, 4 Jun 2015 07:41:30 +0000 (UTC) Received: (qmail 23040 invoked by uid 500); 4 Jun 2015 07:41:29 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 23000 invoked by uid 500); 4 Jun 2015 07:41:29 -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 22988 invoked by uid 99); 4 Jun 2015 07:41:29 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2015 07:41:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BDBC5181A44 for ; Thu, 4 Jun 2015 07:41:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6zirem9ewDBA for ; Thu, 4 Jun 2015 07:41:28 +0000 (UTC) Received: from mail-qc0-f181.google.com (mail-qc0-f181.google.com [209.85.216.181]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 8DB48207AB for ; Thu, 4 Jun 2015 07:41:27 +0000 (UTC) Received: by qczw4 with SMTP id w4so14665438qcz.2 for ; Thu, 04 Jun 2015 00:41:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1B3Wq7xQq4ssGIXzj+nhrBleqURrYHHfJokRAN7bAKA=; b=VF0meNVm0RN7OdISkPIDza9mXlCUNPtFftweR5SVn4+1r/wN3eCva/Nd4Yllsl3Rfl Xe3XX1SLoVqbZXW61BXS5lK4H8VzkCbXM0WOCyzFX1HChbFGgu8zBsjQAgyIa/rBKTUS D1ZcM2QEF73zB0VQ9IHPGqgOChZ5GQ4jBeD++Oxb6o1v4pq/C15S6QlCjGQHTmxVbVqD U5nvl1wSGlhLLR+wGsBoaNor+9WxR4qJf+AGHPXuBdDpkg6Ctu/w5szgbIWlzZb1w0xO ATLYa6hig5IigJ8+MXcMsgbQ0KIUIQf4jZaOHxGrmAAoN2HIJmC33VjdTS4szadxniy4 dVSQ== MIME-Version: 1.0 X-Received: by 10.140.238.8 with SMTP id j8mr42855428qhc.78.1433403680698; Thu, 04 Jun 2015 00:41:20 -0700 (PDT) Received: by 10.140.20.241 with HTTP; Thu, 4 Jun 2015 00:41:20 -0700 (PDT) Date: Thu, 4 Jun 2015 13:11:20 +0530 Message-ID: Subject: How to limit message size? From: Sajith Kariyawasam To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=001a1135a2e83537ac0517ac4dee --001a1135a2e83537ac0517ac4dee Content-Type: text/plain; charset=UTF-8 Hi, In ActiveMQ is there a way to limit the message size for a particular queue ? My requirement is if a particular message is greater than some value, skip it from storing in the queue, or throw an exception. Is "maxFrameSize" is for that purpose? -- Best Regards Sajith --001a1135a2e83537ac0517ac4dee--