Discussion:
[openjms-developer] OpenJMS support in 'C' or 'C++' / JMS filters
Matthias Clausen
2005-07-28 08:09:50 UTC
Permalink
Hi all,

we are currently setting up an OpenJMS message system on several nodes
of our control system.
Most of the nodes can run Java natively. Some of them will not provide a
JVM - so we'll have to talk to a OpenJMS message server from 'C' or
'C++' code. Is there any implementation for one of the network protocols
available? We are going to use topic lists and MAPed messages (if this
helps to identify what we are looking for)
In addition we are in the process of specifying JMS filters.
JMS-Server(a) -> JMS-Filter -> JMS-Server(b)
Is there anything available that would accomplish this?

Thanks for any help in advance.
Since I did not subscribe to the list at the moment - please send your
reply directly to me and not only to the mailing list - thanks

- Matthias Clausen
--
------------------------------------------------------------------------
Matthias Clausen Cryogenic Controls Group(MKS-2)
phone: +49-40-8998-3256 Deutsches Elektronen Synchrotron
fax: +49-40-8994-3256 Notkestr. 85
e-mail: ***@desy.de 22607 Hamburg
WWW-MKS2.desy.de Germany
------------------------------------------------------------------------
Tim Anderson
2005-07-28 15:13:51 UTC
Permalink
From: Matthias Clausen
Hi all,
we are currently setting up an OpenJMS message system on
several nodes of our control system.
Most of the nodes can run Java natively. Some of them will
not provide a JVM - so we'll have to talk to a OpenJMS
message server from 'C' or 'C++' code. Is there any
implementation for one of the network protocols available? We
are going to use topic lists and MAPed messages (if this
helps to identify what we are looking for) In addition we are
in the process of specifying JMS filters.
JMS-Server(a) -> JMS-Filter -> JMS-Server(b) Is there
anything available that would accomplish this?
At the very least you need a JVM in order to communicate with
the server.

However, you could write a proxy server in java that accepts
commands/messages from the C++ client and maps those to the JMS API,
and vice-versa.

E.g:

C++ client <--socket--> Proxy Server <--JMS--> OpenJMS
(no JVM node) (jvm node)

As for filtering, there is no inbuilt support for this.

-Tim

Loading...