Problem solve Get help with specific problems with your technologies, process and projects.

How can I send a message to JMS from C++ (on a Unix box)?

I'm looking into a method for allowing a C++ program to start up an EJB to do some processing. I am sending 4 simple parameters (2 ints and 2 small strings).

It looks like JMS may be the way to go, but I can't seem to find a way to send a message to JMS from C++ (on a Unix box). Can you point me in the right direction?

If you just want to send some simple parameters to an EJB, from a C++ application, then I'd rather suggest using a C++ CORBA ORB. JMS is targeted at Java applications, although there are JMS "add-ons" allowing C++ applications to send and receive JMS messages. But applying such a JMS/C++ solution to you problem might be like "shooting a bird with a cannon".

Dig Deeper on Topics Archive

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.