Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > Re: Reading mes...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 16057 of 16590
Post > Topic >>

Re: Reading message queues with Java?

by bernd <bew_ba@[EMAIL PROTECTED] > May 8, 2008 at 04:02 AM

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 -
 




 6 Posts in Topic:
Reading message queues with Java?
bernd <bew_ba@[EMAIL P  2008-05-07 08:30:14 
Re: Reading message queues with Java?
"wizard of oz"   2008-05-08 01:33:06 
Re: Reading message queues with Java?
bernd <bew_ba@[EMAIL P  2008-05-08 04:02:01 
Re: Reading message queues with Java?
Michael Justin <michae  2008-05-14 18:37:48 
Re: Reading message queues with Java?
efriedNoSpam@[EMAIL PROTE  2008-05-15 04:08:54 
Re: Reading message queues with Java?
Seamus <zawadzki@[EMAI  2008-05-08 05:50:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 15:23:26 CST 2008.