You can check if includeAllBrokers is set. There is a possibility that Broker knows each other by a hostname that is resolvable within LAN, but cannot be resolved from outside. So, when Azure Java Publisher connects to one of the Broker and asks for all the cluster Brokers, it gets a list of Brokers with internal hostname that it cannot connect to.
If above is correct, then…
Short term solution: Disable includeAllBrokers, and publisher will use the list and hostname as provided in connection factory.
Solution: Check if you should be using ‘hostname’ parameter in Broker. If yes, then set hostname to a public name that is resolvable both internally in LAN as well as cloud. You will have to rebuild the cluster after setting hostname parameter in awbroker.cfg.
If issue persists, you can check what JMS API is doing. Pass following arguments to your client to generate log file.
com.webmethods.jms.log.level=all
com.webmethods.jms.log.filename=C:\\temp\\jmsapi.log
Log file will contain diagnostic logs as various functions gets called in JMS API. It is closely tied to internal code, but you can still make out quite a few things from log file.
#webMethods#webMethods-io-Integration#Integration-Server-and-ESB