The issues is that the BlobMessage needs jetty webserver to send File or InputStream and it is not started by default when you start an embedded broker. I found this post about starting the web server for embedded broker.
http://www.nabble.com/Starting-Jetty-to-serve-blobs-with-embedded-broker-td18826446.html Is there a document anywhere that shows how the BlobMessage is actually working? How is the webserver used and what is the sequence of events to send a message using BlobMessage? Lou Parisi wrote: > > > If I try to use an InputStream or File object to create the message I get > a connection refused exception. I have seen others write about this > problem in the forum but did not see any solution. I am using the latest > 5.2 download for my test. I am running as a JUnit test just to try it > out. The code for setup and execution along with the stackTrace for each > case are below. If anyone could help I would appreciate it. > > -- View this message in context: http://www.nabble.com/BlobMessage-tp23088120p23104639.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.