I appreciate your reply, and thanks.
but it still doesn't work!
I create a BLOB message using a File / InputStream as the command argument.
BlobMessage message = session.createBlobMessage(new File("E://test.pdf"));
The sending program seems work fine, but when I tried to get the file data
using a
I am using the Jms Streams to send file to
Queue(http://www.activemq.org/JMS+Streams)...
It seems that ActiveMQ transfers the stream by splitting it into small
messages.
For example, if my file size is 32M. then when finishing sending the file,
the queue size is 505 (there are 505 message in the q
I tried to send a file to ActiveMQ through
http://activemq.apache.org/jms-streams.html Jms Streams . And I stop the
sending process when the data is still being sent..however, the messages
which have been sent are still in the destination queue. What I want to know
is how to delete those messages
I download the ActiveMQ 5.0-SNAPSHOT and unzip it, then run
/bin/activemq.bat.
After that, I wrote a Producer and Consumer to test the BlobMessage feature
of ActiveMQ 5.0-SNAPSHOT, but failed!!!
Producer.java:
import java.io.File;
import javax.jms.*;
import org.apache.activemq.*;
public class P
Preliminary:
1. There is a large binary file (test.zip,100M) in machine A (10.0.0.3), and
an ActiveMQ AA is running.
2. There are another 2 machines B (10.0.0.4) and C (10.0.0.5) .
3. ActiveMQ BB is running on B, and ActiveMQ CC is running on C.
What I want to do is following:
1. send file test.z