Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 91212 invoked from network); 28 Nov 2006 15:08:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2006 15:08:23 -0000 Received: (qmail 36373 invoked by uid 500); 28 Nov 2006 15:08:32 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 36353 invoked by uid 500); 28 Nov 2006 15:08:32 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 36344 invoked by uid 99); 28 Nov 2006 15:08:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Nov 2006 07:08:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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, 28 Nov 2006 07:08:22 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A3BE7142F5 for ; Tue, 28 Nov 2006 07:08:02 -0800 (PST) Message-ID: <19525140.1164726482497.JavaMail.root@brutus> Date: Tue, 28 Nov 2006 07:08:02 -0800 (PST) From: "james strachan (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Created: (AMQ-1075) support for FileMessage 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 support for FileMessage 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 Some new API like this... public class ActiveMQSession { // send a local file or stream over JMS public FileMessage createLocalFileMessage(InputStream inputStream) {...} public FileMessage createLocalFileMessage(File file) {..,} public FileMessage createLocalFileMessage(URL url) {..,} // send a remote URL over JMS public FileMessage createRemoteFileMessage(URL url) {...} } with FileMessage like this... public interface FileMessage 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(); } For further discussion see http://www.nabble.com/support-for-FileMessage--tf2641673.html#a7373916 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira