want to submit your hack as a patch, using ssh/scp makes great sense.
On 2 August 2011 17:07, johncarl81 wrote:
> Pawan Chhabra writes:
>
>>
>>
>> I had faced the similar problem. you need to set policy like
>>
> connectionFactory.getBlobTransferPolicy().setUploadUrl("http://127.0.0.1:8161/files
Pawan Chhabra writes:
>
>
> I had faced the similar problem. you need to set policy like
>
connectionFactory.getBlobTransferPolicy().setUploadUrl("http://127.0.0.1:8161/fileserver/";);
>
>
Just a follow up since I found this post from last year.
We've successfully used SSH / SCP to transfer
> >>
>> >>
>> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:778)
>> >>at
>> >>
>> >>
>> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:703)
>> >>
t; >>
> >>
> sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:881)
> >>at
> >>
> >>
> org.apache.activemq.blob.DefaultBlobUploadStrategy.uploadStream(DefaultBlobUploadStrategy.java:59)
> >>at
>
loadStrategy.java:59)
>>at
>> org.apache.activemq.blob.BlobUploader.upload(BlobUploader.java:53)
>>at
>>
>> org.apache.activemq.command.ActiveMQBlobMessage.onSend(ActiveMQBlobMessage.java:173)
>>... 32 more
>>
>> It looks like the c
mand.ActiveMQBlobMessage.onSend(ActiveMQBlobMessage.java:173)
>>... 32 more
>>
>> It looks like the client is trying to upload the 'blob' and failing to do
>> so
>> because of a connection problem (refused).
>>
>> Is there a better way to te
trying to upload the 'blob' and failing to do
> so
> because of a connection problem (refused).
>
> Is there a better way to test around the blob message functionality? Maybe
> mocking the functionality further than simply embedding activemq?
>
> Thanks for your rep
test around the blob message functionality? Maybe
mocking the functionality further than simply embedding activemq?
Thanks for your reply.
John
--
View this message in context:
http://old.nabble.com/Testing-around-BlobMessage-tp27333888p27333888.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.