Re: How to send file using ActiveMQ

2007-09-21 Thread Sherif
Try setting the copyMessageOnWrite option to false. I know it's not a good idea to do that, but it's the only way I got it to make it work. I'm supposing that this is not normal behavior and that maybe this issue will be fixed. ttmdev wrote: > > I am trying to use the BlobMessage to send a f

Re: How to send file using ActiveMQ

2007-09-20 Thread ttmdev
I am trying to use the BlobMessage to send a file directly from producer to consumer. All works fine, the BlogMessage message is sent from producer to consumer;except, the consumer always gets a NULL InputStream when it invokes BlobMessage.getInputStream(); My BLOB transfer policy is set as fol

Re: How to send file using ActiveMQ

2007-06-22 Thread James Strachan
On 6/21/07, Gaurav Hariani <[EMAIL PROTECTED]> wrote: We have a similar need and after trying a number of approaches we settled on the following approach: The producer creates a file in a directory where it can be served by a webserver e.g. ~gaurav/public_html/large_messages/xyzABC123.zip Then t

Re: How to send file using ActiveMQ

2007-06-21 Thread Gaurav Hariani
We have a similar need and after trying a number of approaches we settled on the following approach: The producer creates a file in a directory where it can be served by a webserver e.g. ~gaurav/public_html/large_messages/xyzABC123.zip Then the producer sends the URL of this file as a text mess

Re: How to send file using ActiveMQ

2007-06-21 Thread James Strachan
On 6/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, Can you let me know how to send large file using ActvieMQ ? Yes. We've supported JMS streams for a few years now, though in 5.x there's an even better mechanism, Blob Messages which supports out of band and external file systems/web

Re: How to send file using ActiveMQ

2007-06-21 Thread Kit Plummer
We're using JMS to carry 100-1000MB files. [EMAIL PROTECTED] wrote: Hi, Can you let me know how to send large file using ActvieMQ ? Thanks