Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 41431 invoked from network); 3 Oct 2007 02:53:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2007 02:53:35 -0000 Received: (qmail 77888 invoked by uid 500); 3 Oct 2007 02:53:24 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 77857 invoked by uid 500); 3 Oct 2007 02:53:24 -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 77844 invoked by uid 99); 3 Oct 2007 02:53:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 19:53:24 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zagato.gekko@gmail.com designates 64.233.162.229 as permitted sender) Received: from [64.233.162.229] (HELO nz-out-0506.google.com) (64.233.162.229) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 02:53:25 +0000 Received: by nz-out-0506.google.com with SMTP id z3so2730932nzf for ; Tue, 02 Oct 2007 19:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=IwLw3sKqPbZ5AYSht6hr+w/1XgZl19U1Cq/1/F9dFiM=; b=KUFQxBetjhzy+J8oR9uOxQTv/1mRVEIQTdpR6yyqlnDghaZeQ0nzTO1xdU7JlstFOgMHUkbEgzVcZw/cmdg7CeUDO5tNiqHM5gEH2XBs/kx4xkKzwlLhxQCjPI2PTLI0d5oZglHl36mX8oDoIJnev/Ph5/50hwp9z+7rcY7e+Uc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Nt48CJEW05HFIsFWllPCU+hmaGgk+VXO91vQEgUVknS3Vw/juYRShZPveZWFPw58J8PFfWmfbY8LeSG0/TFT3xSvK2mlQRS7bEP6XGY48sEaW/XFViqlqN9FCWDfppDjUO+5MkDsSZleOCQKwVJRw0KOJrGkjaGOJBCQ9sPz8UU= Received: by 10.65.115.4 with SMTP id s4mr20011871qbm.1191379966606; Tue, 02 Oct 2007 19:52:46 -0700 (PDT) Received: by 10.64.196.7 with HTTP; Tue, 2 Oct 2007 19:52:46 -0700 (PDT) Message-ID: <98028b00710021952i4035b188id7f6734b416fa3b5@mail.gmail.com> Date: Tue, 2 Oct 2007 21:52:46 -0500 From: Zagato To: users@activemq.apache.org Subject: Sending a byte[] in a message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19546_28858851.1191379966603" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_19546_28858851.1191379966603 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello everybody, i'm newbie with ActiveMQ,.. i have a very long String that i compress using BZIP2 with Java, this works perfect but i get a byte[] as the result of the compression, then i need to send this byte[] in a ObjectMessage, is this posible ? can somebody give a few tips !!! Thanks in advance... Alan Jairo Acosta Cali - Colombia -- Farewell. http://www.youtube.com/zagatogekko ruby << __EOF__ puts [ 111, 116, 97, 103, 97, 90 ].collect{|v| v.chr}.join.reverse __EOF__ ------=_Part_19546_28858851.1191379966603--