Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 64794 invoked from network); 10 Apr 2007 12:20:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Apr 2007 12:20:57 -0000 Received: (qmail 97502 invoked by uid 500); 10 Apr 2007 12:21:03 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 97376 invoked by uid 500); 10 Apr 2007 12:21:02 -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 97367 invoked by uid 99); 10 Apr 2007 12:21:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 05:21:02 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 05:20:55 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8AD7D71406E for ; Tue, 10 Apr 2007 05:20:35 -0700 (PDT) Message-ID: <9543635.1176207635527.JavaMail.jira@brutus> Date: Tue, 10 Apr 2007 05:20:35 -0700 (PDT) From: "Aleksi Kallio (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-1075) support for BlobMessage interface to support in-band and out-of-band file transfer MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksi Kallio updated AMQ-1075: ------------------------------- Attachment: fileserver.war Here's the wepapp to be deployed under Jetty. It supports RESTful file access. RestFilter is included in the webapp, but is not needed with the new release of Jetty as it bundled with it. > support for BlobMessage interface to support in-band and out-of-band file transfer > ---------------------------------------------------------------------------------- > > Key: AMQ-1075 > URL: https://issues.apache.org/activemq/browse/AMQ-1075 > Project: ActiveMQ > Issue Type: New Feature > Components: Broker > Reporter: james strachan > Fix For: 4.2.0 > > Attachments: fileserver.war > > > Some new API like this... > {code} > public class ActiveMQSession { > // send a local file or stream over JMS > public BlobMessage createBlobMessage(InputStream inputStream) {...} > public BlobMessage createBlobMessage(File file) {..,} > // send a remote URL over JMS > public BlobMessage createBlobMessage(URL url) {...} > } > public interface BlobMessage extends Message { > // access the remote resource > // or for local resources, force creation of temporary file > // so this resource can be parsed multiple times etc > URL getURL(); > InputStream getInputStream(); > } > {code} > For further discussion see > http://www.nabble.com/support-for-FileMessage--tf2641673.html#a7373916 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.