nono created AMQ-6329:
-------------------------

             Summary: How to write defaultUploadUrl for sending BlobMessage in 
ActiveMQ 5.8
                 Key: AMQ-6329
                 URL: https://issues.apache.org/jira/browse/AMQ-6329
             Project: ActiveMQ
          Issue Type: Bug
            Reporter: nono


Hi, all. I'm fresh here. Here is my issue: My system uses activemq 5.8 platform 
in sending blobmessage. But when sending, it doesn't work. And the console 
prints out below:
javax.jms.JMSException: PUT was not successful: 401 Unauthorized

Here is my code:ConnectionFactory connectionFactory = new 
ActiveMQConnectionFactory(
"tcp://localhost:61616?jms.blobTransferPolicy.defaultUploadUrl=http://admin:[email protected]:8161/fileserver/";);

I put "http://admin:[email protected]:8161/fileserver/"; into browser's address, 
it works. 
So, nice guys, help me please.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to