0
我試圖連接到使用,the example provided on microsoft website窗口服務總線,嘗試使用AMQP服務總線從Java窗口服務總線錯誤:對等節點沒有爲鏈接創建遠程端點,目標:,
private String SbConnStrACS = "amqps://" + SbUsername + ":" + encode(SbPassword) + "@" + SbDomain;
private String SbQueueName = SbNamespace + "/testq";
連接我使用下面庫
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_1.1_spec</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-amqp-1-0-client-jms</artifactId>
<version>0.22</version>
</dependency>
的版本,但我得到的錯誤:
javax.jms.JMSException: Peer did not create remote endpoint for link, target: sbns/test
at org.apache.qpid.amqp_1_0.jms.impl.MessageProducerImpl.<init>(MessageProducerImpl.java:77)
at org.apache.qpid.amqp_1_0.jms.impl.SessionImpl.createProducer(SessionImpl.java:348)
at org.apache.qpid.amqp_1_0.jms.impl.SessionImpl.createProducer(SessionImpl.java:63)
at test.servicebus.SimpleSenderReceiver.<init>(SimpleSenderReceiver.java:36)
at test.servicebus.Main.main(Main.java:22)
對於Azure服務總線上的完全相同的錯誤是remove partitioned flag
from the queues,但對於Windows服務總線,我無法找到任何此類標誌
我還可以嘗試什麼?