If the program is posting to a Message Queue, then JMS is exactly what you
want.
Another possibility is that it is writing to something that you are
calling
a message queue, but it is really something else. An example might be that
the C++ program is writing to a Named Pipe. If so, you might want to look
at
java.io.PipedInputStream and other java.io.Piped* cl*****.
Why do you believe JMS is the wrong package to work with a message queue?
"bernd" <bew_ba@[EMAIL PROTECTED]
> wrote in message
news:3b8910f1-a399-4bbb-88b5-b489565c0ad3@[EMAIL PROTECTED]
> Hi folks,
>
> is there a way to read local message queues from within a Java
> application?
>
> I have got a C++-application (on Solaris 10) generating a message
> queue which has to be read out by a Java program. I have read about
> JMS and java.nio, but it seems that these would not be appropriate to
> help solving my problem.
>
> Any idea, suggestion, package? ;-)
>
> Cheers
>
>
> Bernd


|