[erlang-questions] best ways to discover jinterface mailbox from erlang?

Michael Truog mjtruog@REDACTED
Tue Dec 20 18:30:22 CET 2011

On 12/20/2011 01:27 AM, mabrek wrote:
> Hello.
> We have one application written in Java and need call it's methods
> from Erlang. We use global to discover erlang services but jinterface
> mailbox can't be registered in such way. Gproc doesn't seem to work
> with jinterface either. It looks like it's possible to register
> jinterface mailbox via pg2, haven't tried it yet.
> What is the best way to make jinterface mailbox discoverable from erlang?
> Regards,
> Anton Lebedevich
CloudI (http://cloudi.org) uses a module similar to pg2 to queue messages to Java through jinterface as Erlang ports (instead of cnodes).  So, it should provide the functionality you are looking for.

More information about the erlang-questions mailing list