Hi wizard,
thx for Your reply at first.
I have checked JMS just superficially, I might be wrong, but I have
read that JMS manages communication between two Java progs, not
between a program in a different language and a Java application.
Moreover, in my environment setting up JMS would be too much effort at
the moment, I need something simpler (ideally, a package of the JDK).
To be more precise with my notion of a message queue: I am "talking"
about memory structures generated with the msgget() syscall (man ipcs,
e.g.). But I have not found an implementation in the JDK up to now
(maybe because of the platform specific aspects).
I am considering using JNI and a C-Implementation of the functionality
I need, but if there is still an easier way, I would not mind a
different suggestion.
Cheers
Bernd
On May 8, 3:33=A0am, "wizard of oz" <nos...@[EMAIL PROTECTED]
> wrote:
> 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
callin=
g
> 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...@[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- Hide quoted text -
>
> - Show quoted text -


|