activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-1075) support for BlobMessage interface to support in-band and out-of-band file transfer
Date Fri, 23 Feb 2007 17:53:02 GMT

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

james strachan updated AMQ-1075:
--------------------------------

    Description: 
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




  was:
Some new API like this...

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) {...}
}

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





> 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
>
>
> 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.


Mime
View raw message