Java 的 Azure 服务总线中继

Azure Service bus Relay with Java

我正在尝试拥有一个 POC 运行,通过它我可以将 Azure 服务总线中继与 Java 作为后端。

Azure 服务总线中继允许集成 .NET 库。没有 Java 库可用。

如果 Java 无法实现,是否有其他替代 java 的中继功能。

我从 MSDN 线程 How to relay on premises java web service through service bus? 中搜索了您问题的答案。

This isn't available in Java. Only WCF Services are able to use Service Bus Relay feature currently.

Some options to workaround this might be:

  1. Create a wrapper WCF service in front of the existing Java Service and register it with Service Bus Relay this way making it available.

  2. Making this into a Loosely coupled architecture by leveraging the Service Bus features that are available currently for Java, like Queues and Topics.

希望对您有所帮助。最好的问候。

可以将 Java 后端与中继一起使用,但您不能做与 WCF 后端相同的事情。您必须创建一个 hybrid connection 来支持 WCF 之外的方案。