[
https://issues.apache.org/jira/browse/AMQ-6329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15340796#comment-15340796
]
nono commented on AMQ-6329:
---------------------------
okay, thank you.
> 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)