Some ideas.
1. The problem is isc.rabbitmq.API class was imported with an error. Delete this class and try this code (post output):
Set class = "isc.rabbitmq.API"
Set classPath = ##class(%ListOfDataTypes).%New()
Do classPath.Insert(PATH-TO-JAR)
Set gateway = ##class(%Net.Remote.Gateway).%New()
Set sc = gateway.%Connect("localhost", PORT, $Namespace, 2, classPath)
Zwrite sc
Set sc = gateway.%Import(class)
Zwrite sc
Write ##class(%Dictionary.CompiledClass).%ExistsId(class)2. Try recompiling isc.rabbitmq.API class.
3. Maybe have 2 amqp jars with com.rabbitmq.tools.jsonrpc.JsonRpcException class. The only class you should import is isc.rabbitmq.API class. It shouldn't pull many additional ones.
4. What version of AMQP are you using? I'm using amqp-5.0.0. Try the same verison?
- Log in to post comments
