activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Blob Message is a skin game???
Date Mon, 13 Aug 2007 10:59:30 GMT
Answered in your other thread.
http://www.nabble.com/Re%3A-Blob-Message-is-a-skin-game----not-real--%21---p12124257s2354.html

On 8/13/07, OnlyLove <v.plussharp@gmail.com> wrote:
>
> I send the blob message using...
>
> BlobMessage message = session.createBlobMessage(new
> URL("http://localhost:8080/test.pdf"));
>
> then, I close the tomcat server, and try to get the message from the amq
> broker,
> fail ! (it seems that the blob message just send the url to the broker, but
> not the real data of the file!)
>
> Exception in thread "main" java.net.ConnectException: Connection refused:
> connect
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(Unknown Source)
>         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>         at java.net.PlainSocketImpl.connect(Unknown Source)
>         at java.net.Socket.connect(Unknown Source)
>         at java.net.Socket.connect(Unknown Source)
>         at sun.net.NetworkClient.doConnect(Unknown Source)
>         at sun.net.www.http.HttpClient.openServer(Unknown Source)
>         at sun.net.www.http.HttpClient.openServer(Unknown Source)
>         at sun.net.www.http.HttpClient.<init>(Unknown Source)
>         at sun.net.www.http.HttpClient.New(Unknown Source)
>         at sun.net.www.http.HttpClient.New(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
> Source)
>         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
> Source)
>         at java.net.URL.openStream(Unknown Source)
>         at
> org.apache.activemq.command.ActiveMQBlobMessage.getInputStream(ActiveMQBlobMessage.java:129)
>         at BlobMessagesQueue.BlobConsumer.main(BlobConsumer.java:24)
>
>
> --
> View this message in context: http://www.nabble.com/Blob-Message-is-a-skin-game----tf4260124s2354.html#a12123361
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
James
-------
http://macstrac.blogspot.com/

Mime
View raw message