小编Ana*_*ukh的帖子

如何访问 Spring Boot 应用程序的 https URL

我有一个由 Insight DOCKER 托管的 Spring Boot 应用程序。为了使其成为 HTTPS,我已经应用了:

server.ssl.key-store: classpath:keystore.p12
server.ssl.key-store-password: password
server.ssl.keyStoreType: PKCS12
server.ssl.keyAlias: tomcat
Run Code Online (Sandbox Code Playgroud)

它不起作用,我无法得到任何回应。

java ssl https docker

5
推荐指数
0
解决办法
558
查看次数

如何在 azure 服务总线中推送最大长度消息

我想将消息推送到 azure 服务总线,比如大小为 3 MB。为此,我写道:

QueueInfo queueInfo = new QueueInfo("sq-jcibe-microservice-plm-qa");
long maxSizeInMegabytes = 5120;
queueInfo.setMaxSizeInMegabytes(maxSizeInMegabytes); 
service.updateQueue(queueInfo);
service.sendQueueMessage("sq-jcibe-microservice-plm-qa", brokeredMessage);
Run Code Online (Sandbox Code Playgroud)

我收到以下异常。

com.microsoft.windowsazure.exception.ServiceException: com.sun.jersey.api.client.UniformInterfaceException: PUT https://sb-jcibe-microservice-qa.servicebus.windows.net/sq-jcibe-microservice-plm-qa?api-version=2013-07 returned a response status of 400 Bad Request
Response Body: <Error><Code>400</Code><Detail>SubCode=40000. For a Partitioned Queue, ordering is supported only if RequiresSession is set to true.&#xD;
Parameter name: SupportOrdering. TrackingId:59bb3ae1-95f9-45e1-8896-d0f6a9ac2be8_G3, SystemTracker:sb-jcibe-microservice-qa.servicebus.windows.net:sq-jcibe-microservice-plm-qa, Timestamp:11/30/2016 4:52:22 PM</Detail></Error> 
Run Code Online (Sandbox Code Playgroud)

我不明白这是什么意思,我应该如何解决这个问题。请帮我解决这个问题。?

jms servicebus azure azureservicebus

2
推荐指数
1
解决办法
964
查看次数

标签 统计

azure ×1

azureservicebus ×1

docker ×1

https ×1

java ×1

jms ×1

servicebus ×1

ssl ×1