You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "james strachan (JIRA)" <ji...@apache.org> on 2007/02/23 18:49:03 UTC

[jira] Commented: (AMQ-1075) support for FileMessage interface to support in-band and out-of-band file transfer

    [ https://issues.apache.org/activemq/browse/AMQ-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38569 ] 

james strachan commented on AMQ-1075:
-------------------------------------

For documentation see....

http://cwiki.apache.org/ACTIVEMQ/blob-messages.html

and this discussion thread....
http://www.nabble.com/support-for-FileMessage--tf2641673s2354.html#a7373916


> 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.
-
You can reply to this email to add a comment to the issue online.