OpenJMS and communication to non-JMS

B

Berlin Brown

Has anybody got any code that does jms messaging from a NON-JMS client,
for example a TCP/IP client. I know the code is there, but do I have
to do the JNDI and all that stuff from non-jms?

I am sure it is just a tcp message. The j2EE spec doesnt go into
detail about everything. Looking at the openjms code it does look too
bad, but I am sure there is an example out there on the web?
 
J

jan V

Has anybody got any code that does jms messaging from a NON-JMS client,
for example a TCP/IP client.

Can you tell us why you don't wish to use the JMS API ? Why reinvent the
wheel?
 
B

Berlin Brown

Because I might not be using java. Interoperate. I believe the HTTP
messaging might work, but I probably don't want to run tomcat either.
 
R

Raymond DeCampo

Berlin said:
Because I might not be using java. Interoperate. I believe the HTTP
messaging might work, but I probably don't want to run tomcat either.

Your best bet would probably be to use a messaging service that supports
JMS, but is not primarily a JMS service, if you get my meaning. I'm
sure there are messaging servers that support JMS as well as have C/C++
libraries.

Ray
 
R

Real Gagnon

Has anybody got any code that does jms messaging from a NON-JMS client,
for example a TCP/IP client. I know the code is there, but do I have
to do the JNDI and all that stuff from non-jms?

We had a similar problem, our solution (maybe not the best) was to let the
non-JMS client put the message in a non-JMS queue and have a MDB listen to
this queue. Then the MDB transfer (and possibly transform) the message to a
JMS queue.

Bye.
 
B

Berlin Brown

Sun lied, it says write on the J2EE JMS spec, that interoperability is
supported but didnt say how. I guess I could write an implementation
and figure it out or hack on OpenJMS or ethereal.

I wish Sun would have put a C++ example in the JMS code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,817
Latest member
AdalbertoT

Latest Threads

Top