Safer close and exchange check. Some heartbeat changes (which should not affect anything).
AMQP lib is the same 5.7.2 version.
To update:
- Stop production.
- Replace JAR file
- Create temp Gateway (replace
path
andlib
with FULL paths):
set java = "JAVA_HOME path"
set path = "RabbitMQjava.jar"
set lib = "amqp-client-5.7.2.jar"
set sc=##class(isc.rabbitmq.Utils).CreateGateway(,java,path_";"_lib)
write $System.Status.GetErrorText(sc)
- Update
isc.rabbitmq.API
:
set sc = ##class(isc.rabbitmq.Utils).UpdateJar(,path_";"_lib)
write $System.Status.GetErrorText(sc)
- Start production.