How java program client call the service?

Hi all:

https://github.com/onefinestay/nameko/issues/286 this issure I ask how a
simple python script client to call service using rpc.
I want to know can java or other language do the simple thing like the
test_service_client.py?

Nameko RPC us built on top of AMQP. You could use
https://www.rabbitmq.com/java-client.html or any other Java AMQP
implementation to write a client. The RPC protocol details are not well
documented though, I'm afraid. In the code, nameko/standalone/rpc.py and
nameko/rpc.py contain the implementation.

What's your motivation for using nameko alongside Java? If you just need to
have a Java program talk to a nameko-based service, you could HTTP. Nothing
would stop you then using AMQP between multiple nameko services. This is a
common pattern.

ยทยทยท

On Friday, October 16, 2015 at 12:44:15 PM UTC+1, Mo Jia wrote:

Hi all:

https://github.com/onefinestay/nameko/issues/286 this issure I ask how a
simple python script client to call service using rpc.
I want to know can java or other language do the simple thing like the
test_service_client.py?