• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Reading Unix Message Queue

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the task of writing a program that must read messages sent from another program, process the message and send it back form where it came from. This is in a Unix environment.

Is there a way to read the Unix message queue using J2SE?
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
POSIX message queues? I don't know of any existing Java interface to this... I did find the jmqueues project on Java.net, but it doesn't look like anything is even there... If you need 2 Java programs to talk to one another, it would probably be a better idea to go with RMI. If you need to interface with an existing program that already uses POSIX message queues for IPC - you'd probably have to use JNI to wrap the POSIX libraries.
 
reply
    Bookmark Topic Watch Topic
  • New Topic