[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-dev
Subject: [jira] Created: (AMQ-1075) support for FileMessage interface to
From: "james strachan (JIRA)" <jira () apache ! org>
Date: 2006-11-28 15:08:02
Message-ID: 19525140.1164726482497.JavaMail.root () brutus
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic